Enum Class GordianDHGroup
- All Implemented Interfaces:
Serializable,Comparable<GordianDHGroup>,Constable
DH Groups.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic GordianDHGroupgetGroupForParams(org.bouncycastle.crypto.params.DHParameters pParams) Obtain the group for parameters.org.bouncycastle.crypto.params.DHParametersObtain the parameters.static GordianDHGroupReturns the enum constant of this class with the specified name.static GordianDHGroup[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FFDHE2048
ffdhe 2048. -
STD2048
std 2048. -
STD1024
std 1024. -
STD1536
std 2048. -
STD3072
std 3072. -
FFDHE3072
ffdhe 3072. -
STD4096
std 4096. -
FFDHE4096
ffdhe 4096. -
STD6144
std 6144. -
FFDHE6144
ffdhe 6144. -
STD8192
std 8192. -
FFDHE8192
ffdhe 8192.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getParameters
public org.bouncycastle.crypto.params.DHParameters getParameters()Obtain the parameters.- Returns:
- the parameters
-
getGroupForParams
Obtain the group for parameters.- Parameters:
pParams- the parameters- Returns:
- the group
-