public enum KeyType extends java.lang.Enum<KeyType>
KeyType enum defines the key types supported by the CloudHSM Provider.
This KeyType enum should be used with the KeyAttribute.KEY_TYPE enum variant to set
desired key type attributes.
CloudHsmProvider,
KeyAttribute| Enum Constant and Description |
|---|
AES
AES key type.
|
DESEDE
Triple DES key type.
|
EC
Elliptic-curve key type.
|
GENERIC_SECRET
Generic secret key type.
|
RSA
RSA key type.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyType AES
public static final KeyType DESEDE
public static final KeyType EC
public static final KeyType GENERIC_SECRET
public static final KeyType RSA
public static KeyType[] values()
for (KeyType c : KeyType.values()) System.out.println(c);
public static KeyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null