Enum ECGenSpec
- java.lang.Object
-
- java.lang.Enum<ECGenSpec>
-
- com.fortanix.sdkms.jce.provider.constants.ECGenSpec
-
- All Implemented Interfaces:
Serializable
,Comparable<ECGenSpec>
public enum ECGenSpec extends Enum<ECGenSpec>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ECGenSpec
getByKey(String key)
String
getKey()
com.fortanix.sdkms.v1.model.EllipticCurve
getValue()
static ECGenSpec
valueOf(String name)
Returns the enum constant of this type with the specified name.static ECGenSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SecP192K1
public static final ECGenSpec SecP192K1
-
SecP224K1
public static final ECGenSpec SecP224K1
-
SecP256K1
public static final ECGenSpec SecP256K1
-
NistP192
public static final ECGenSpec NistP192
-
NistP224
public static final ECGenSpec NistP224
-
NistP256
public static final ECGenSpec NistP256
-
NistP384
public static final ECGenSpec NistP384
-
NistP521
public static final ECGenSpec NistP521
-
Secp192r1
public static final ECGenSpec Secp192r1
-
Secp224r1
public static final ECGenSpec Secp224r1
-
Secp256r1
public static final ECGenSpec Secp256r1
-
Secp384r1
public static final ECGenSpec Secp384r1
-
Secp521r1
public static final ECGenSpec Secp521r1
-
Gost256a
public static final ECGenSpec Gost256a
-
Ed25519
public static final ECGenSpec Ed25519
-
X25519
public static final ECGenSpec X25519
-
X448
public static final ECGenSpec X448
-
-
Method Detail
-
values
public static ECGenSpec[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ECGenSpec c : ECGenSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECGenSpec valueOf(String name)
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
-
getValue
public com.fortanix.sdkms.v1.model.EllipticCurve getValue()
-
getKey
public String getKey()
-
-