enum TLSProtocol extends java.lang.Enum<TLSProtocol>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
protocolName |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
getProtocolName()
Returns the corresponding TLS protocol name as per the JSSE Standard Names
|
static TLSProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TLSProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLSProtocol TLSv1_2
public static final TLSProtocol TLSv1_1
public static final TLSProtocol TLSv1
public static final TLSProtocol TLS
public static TLSProtocol[] values()
for (TLSProtocol c : TLSProtocol.values()) System.out.println(c);
public static TLSProtocol 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 nulljava.lang.String getProtocolName()