@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum KeyAlgorithm extends Enum<KeyAlgorithm>
Enum Constant and Description |
---|
AES_128 |
AES_192 |
AES_256 |
RSA_2048 |
RSA_3072 |
RSA_4096 |
TDES_2KEY |
TDES_3KEY |
Modifier and Type | Method and Description |
---|---|
static KeyAlgorithm |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static KeyAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyAlgorithm TDES_2KEY
public static final KeyAlgorithm TDES_3KEY
public static final KeyAlgorithm AES_128
public static final KeyAlgorithm AES_192
public static final KeyAlgorithm AES_256
public static final KeyAlgorithm RSA_2048
public static final KeyAlgorithm RSA_3072
public static final KeyAlgorithm RSA_4096
public static KeyAlgorithm[] values()
for (KeyAlgorithm c : KeyAlgorithm.values()) System.out.println(c);
public static KeyAlgorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<KeyAlgorithm>
public static KeyAlgorithm fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.