public static enum KeyInfo.KeyType extends java.lang.Enum<KeyInfo.KeyType>
Enum Constant and Description |
---|
CUSTOM
User custom
|
SYSTEM_DEFAULT
The system public key
|
Modifier and Type | Method and Description |
---|---|
static KeyInfo.KeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyInfo.KeyType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final KeyInfo.KeyType CUSTOM
public static final KeyInfo.KeyType SYSTEM_DEFAULT
public static KeyInfo.KeyType[] values()
for (KeyInfo.KeyType c : KeyInfo.KeyType.values()) System.out.println(c);
public static KeyInfo.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