Enum ECDSACurve
- All Implemented Interfaces:
Serializable, Comparable<ECDSACurve>, java.lang.constant.Constable
Enumeration of supported ECDSA Curves with corresponding algorithm parameter names
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet Curve Name for use with Java Cryptography Architecture componentsstatic ECDSACurveReturns the enum constant of this type with the specified name.static ECDSACurve[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SECP256R1
NIST P-256 -
SECP384R1
NIST P-384 -
SECP521R1
NIST P-521
-
-
Field Details
-
curveName
-
-
Constructor Details
-
ECDSACurve
-
-
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 nameNullPointerException- if the argument is null
-
getCurveName
Get Curve Name for use with Java Cryptography Architecture components- Returns:
- Curve Name
-