Package org.bouncycastle.crypto.fips
Enum Class FipsEC.DomainParameterID
- All Implemented Interfaces:
Serializable
,Comparable<FipsEC.DomainParameterID>
,Constable
,ECDomainParametersID
- Enclosing class:
- FipsEC
public static enum FipsEC.DomainParameterID
extends Enum<FipsEC.DomainParameterID>
implements ECDomainParametersID
An enumeration of ECDomainParametersID for the NIST defined EC domain parameters.
-
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 TypeMethodDescriptionReturn the string version of the curve name.static FipsEC.DomainParameterID
Returns the enum constant of this class with the specified name.static FipsEC.DomainParameterID[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
B571
-
B409
-
B283
-
B233
-
K571
-
K409
-
K283
-
K233
-
P521
-
P384
-
P256
-
P224
-
brainpoolP224r1
-
brainpoolP224t1
-
brainpoolP256r1
-
brainpoolP256t1
-
brainpoolP320r1
-
brainpoolP320t1
-
brainpoolP384r1
-
brainpoolP384t1
-
brainpoolP512r1
-
brainpoolP512t1
-
secp256k1
-
-
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
-
getCurveName
Description copied from interface:ECDomainParametersID
Return the string version of the curve name.- Specified by:
getCurveName
in interfaceECDomainParametersID
- Returns:
- the name of the curve.
-