public static enum AliceContext.Algorithm extends java.lang.Enum<AliceContext.Algorithm>
Cipher
Enum Constant and Description |
---|
AES
Advanced Encryption Standard as specified by NIST in
FIPS 197.
|
DES
The Digital Encryption Standard as described in
FIPS PUB
46-3
|
DESede
Triple DES Encryption (also known as DES-EDE, 3DES, or
Triple-DES).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
|
static AliceContext.Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliceContext.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliceContext.Algorithm AES
public static final AliceContext.Algorithm DES
public static final AliceContext.Algorithm DESede
public static AliceContext.Algorithm[] values()
for (AliceContext.Algorithm c : AliceContext.Algorithm.values()) System.out.println(c);
public static AliceContext.Algorithm 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.Algorithm>