public enum KeyPersuasion extends Enum<KeyPersuasion>
Enum Constant and Description |
---|
ASYMMETRIC |
NONE |
SYMMETRIC |
Modifier and Type | Method and Description |
---|---|
static KeyPersuasion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyPersuasion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyPersuasion NONE
public static final KeyPersuasion SYMMETRIC
public static final KeyPersuasion ASYMMETRIC
public static KeyPersuasion[] values()
for (KeyPersuasion c : KeyPersuasion.values()) System.out.println(c);
public static KeyPersuasion 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 nullCopyright © 2015. All rights reserved.