Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Get the TLSProtocolVersion for an integer value
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
UNKNOWN
Constant: 0x00 = 0
SSLV2
Constant: 0x0200 = 512
SSLV3
Constant: 0x0300 = 768
TLSV1
Constant: 0x0301 = 769
TLSV1_1
Constant: 0x0302 = 770
TLSV1_2
Constant: 0x0303 = 771
TLSV1_3
Constant: 0x0304 = 772
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
from
Get the TLSProtocolVersion for an integer value
Parameters:
value
- the integer value
Returns:
the corresponding TLSProtocolVersion