Package software.amazon.awssdk.crt.cal
Enum EccKeyPair.AwsEccCurve
- java.lang.Object
-
- java.lang.Enum<EccKeyPair.AwsEccCurve>
-
- software.amazon.awssdk.crt.cal.EccKeyPair.AwsEccCurve
-
- All Implemented Interfaces:
Serializable
,Comparable<EccKeyPair.AwsEccCurve>
- Enclosing class:
- EccKeyPair
public static enum EccKeyPair.AwsEccCurve extends Enum<EccKeyPair.AwsEccCurve>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWS_ECDSA_P256
AWS_ECDSA_P384
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EccKeyPair.AwsEccCurve
getEnumValueFromInteger(int value)
int
getNativeValue()
static EccKeyPair.AwsEccCurve
valueOf(String name)
Returns the enum constant of this type with the specified name.static EccKeyPair.AwsEccCurve[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AWS_ECDSA_P256
public static final EccKeyPair.AwsEccCurve AWS_ECDSA_P256
-
AWS_ECDSA_P384
public static final EccKeyPair.AwsEccCurve AWS_ECDSA_P384
-
-
Method Detail
-
values
public static EccKeyPair.AwsEccCurve[] 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 (EccKeyPair.AwsEccCurve c : EccKeyPair.AwsEccCurve.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EccKeyPair.AwsEccCurve 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
-
getNativeValue
public int getNativeValue()
-
getEnumValueFromInteger
public static EccKeyPair.AwsEccCurve getEnumValueFromInteger(int value)
-
-