public enum ETLSVersion extends Enum<ETLSVersion> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
SSL_V3 |
TLS_10 |
TLS_11 |
TLS_12 |
TLS_13 |
| Modifier and Type | Method and Description |
|---|---|
static ETLSVersion |
getFromIDOrNull(String sID) |
String |
getID() |
static ETLSVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETLSVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETLSVersion SSL_V3
public static final ETLSVersion TLS_10
public static final ETLSVersion TLS_11
public static final ETLSVersion TLS_12
public static final ETLSVersion TLS_13
public static ETLSVersion[] values()
for (ETLSVersion c : ETLSVersion.values()) System.out.println(c);
public static ETLSVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nullable public static ETLSVersion getFromIDOrNull(@Nullable String sID)
Copyright © 2016–2019 Philip Helger. All rights reserved.