public static enum KeyRep.Type extends Enum<KeyRep .Type >
| Enum Constant and Description |
|---|
PRIVATE
Type for private keys.
|
PUBLIC
Type for public keys.
|
SECRET
Type for secret keys.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyRep |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static KeyRep |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final KeyRep.Type SECRET
public static final KeyRep.Type PUBLIC
public static final KeyRep.Type PRIVATE
public static KeyRep.Type [] values()
for (KeyRep.Type c : KeyRep.Type.values()) System.out.println(c);
public static KeyRep.Type valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null