public static enum AliceContext.Mode extends java.lang.Enum<AliceContext.Mode>
Cipher
Enum Constant and Description |
---|
CBC
Cipher Block Chaining Mode, as defined in FIPS PUB
81
|
CTR
Counter/CBC Mode, as defined in
NIST Special Publication SP 800-38C
|
GCM
Galois/Counter Mode, as defined in
NIST
Special Publication SP 800-38D.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
|
static AliceContext.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliceContext.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliceContext.Mode CBC
public static final AliceContext.Mode CTR
public static final AliceContext.Mode GCM
public static AliceContext.Mode[] values()
for (AliceContext.Mode c : AliceContext.Mode.values()) System.out.println(c);
public static AliceContext.Mode 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AliceContext.Mode>