Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Get the IPSecDHGroup 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
GROUP_1
Constant: 0x01 = 1
GROUP_2
Constant: 0x02 = 2
GROUP_5
Constant: 0x05 = 5
GROUP_14
Constant: 0x0E = 14
GROUP_19
Constant: 0x13 = 19
GROUP_20
Constant: 0x14 = 20
GROUP_21
Constant: 0x15 = 21
GROUP_24
Constant: 0x18 = 24
NONE
Constant: 0xFF = 255
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 IPSecDHGroup for an integer value
Parameters:
value
- the integer value
Returns:
the corresponding IPSecDHGroup