public enum SSLVersion extends java.lang.Enum<SSLVersion>
Enum Constant and Description |
---|
SSL_3_0 |
TLS_1_0 |
TLS_1_1 |
TLS_1_2 |
TLS_1_3 |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
alias() |
static SSLVersion |
findByAlias(java.lang.String alias) |
int |
value() |
static SSLVersion |
valueOf(int value) |
static SSLVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SSLVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSLVersion SSL_3_0
public static final SSLVersion TLS_1_0
public static final SSLVersion TLS_1_1
public static final SSLVersion TLS_1_2
public static final SSLVersion TLS_1_3
public static SSLVersion[] values()
for (SSLVersion c : SSLVersion.values()) System.out.println(c);
public static SSLVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String alias()
public int value()
public static SSLVersion valueOf(int value)
public static SSLVersion findByAlias(java.lang.String alias)