Package org.bouncycastle.crypto.fips
Enum Class FipsDH.DomainParameterID
- All Implemented Interfaces:
Serializable
,Comparable<FipsDH.DomainParameterID>
,Constable
,DHDomainParametersID
- Enclosing class:
- FipsDH
public static enum FipsDH.DomainParameterID
extends Enum<FipsDH.DomainParameterID>
implements DHDomainParametersID
An enumeration of DHDomainParametersID for some pre-defined DH parameter sets.
-
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 TypeMethodDescriptiongetName()
Return the string version of the parameters name.static FipsDH.DomainParameterID
Returns the enum constant of this class with the specified name.static FipsDH.DomainParameterID[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ffdhe2048
-
ffdhe3072
-
ffdhe4096
-
ffdhe6144
-
ffdhe8192
-
modp2048
-
modp3072
-
modp4096
-
modp6144
-
modp8192
-
-
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
-
getName
Description copied from interface:DHDomainParametersID
Return the string version of the parameters name.- Specified by:
getName
in interfaceDHDomainParametersID
- Returns:
- the name of the parameters.
-