Enum KeyContexts.CypherOperation
- java.lang.Object
-
- java.lang.Enum<KeyContexts.CypherOperation>
-
- com.h2tcoin.takamakachain.globalContext.KeyContexts.CypherOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyContexts.CypherOperation>
- Enclosing class:
- KeyContexts
public static enum KeyContexts.CypherOperation extends Enum<KeyContexts.CypherOperation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyContexts.CypherOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyContexts.CypherOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIGN
public static final KeyContexts.CypherOperation SIGN
-
ENCRYPT
public static final KeyContexts.CypherOperation ENCRYPT
-
VERIFY
public static final KeyContexts.CypherOperation VERIFY
-
-
Method Detail
-
values
public static KeyContexts.CypherOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyContexts.CypherOperation c : KeyContexts.CypherOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyContexts.CypherOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-