public static enum KeyHandle.KeyStatusType extends Enum<KeyHandle.KeyStatusType>
Keyset. A key's status in the Keyset is either ENABLED (able to perform cryptographic
operations), DISABLED (unable to perform operations, but could be re-enabled), or DESTROYED
(the key's data is no longer present in the keyset).| Modifier and Type | Method and Description |
|---|---|
static KeyHandle.KeyStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyHandle.KeyStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyHandle.KeyStatusType ENABLED
public static final KeyHandle.KeyStatusType DISABLED
public static final KeyHandle.KeyStatusType DESTROYED
public static KeyHandle.KeyStatusType[] values()
for (KeyHandle.KeyStatusType c : KeyHandle.KeyStatusType.values()) System.out.println(c);
public static KeyHandle.KeyStatusType 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 null