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