public static enum YAACKeyManager.KeyType extends java.lang.Enum<YAACKeyManager.KeyType>
Enum Constant and Description |
---|
PRIVATE
The private half of a public/private key pair.
|
PUBLIC
The public half of a public/private key pair, generally as a signed certificate.
|
SECRET
A symmetric key that will both encrypt and decrypt a message using symmetric encryption algorithms.
|
Modifier and Type | Method and Description |
---|---|
static YAACKeyManager.KeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YAACKeyManager.KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YAACKeyManager.KeyType PRIVATE
public static final YAACKeyManager.KeyType PUBLIC
public static final YAACKeyManager.KeyType SECRET
public static YAACKeyManager.KeyType[] values()
for (YAACKeyManager.KeyType c : YAACKeyManager.KeyType.values()) System.out.println(c);
public static YAACKeyManager.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