public enum ObjectClassType extends java.lang.Enum<ObjectClassType>
ObjectClassType defines the ObjectClass types supported by the CloudHSM Provider.
This enum should be used with KeyAttribute.OBJECT_CLASS enum variant to specify an
object class type.
| Enum Constant and Description |
|---|
PRIVATE_KEY
Specifies the private component of an asymmetric key pair.
|
PUBLIC_KEY
Specifies the public component of an asymmetric key pair.
|
SECRET_KEY
Specifies a symmetric key.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectClassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectClassType SECRET_KEY
public static final ObjectClassType PUBLIC_KEY
public static final ObjectClassType PRIVATE_KEY
public static ObjectClassType[] values()
for (ObjectClassType c : ObjectClassType.values()) System.out.println(c);
public static ObjectClassType 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