public static enum DOFCipher.Algorithm extends java.lang.Enum<DOFCipher.Algorithm>
Enum Constant and Description |
---|
AES
Advanced Encryption Standard (AES), as described by FIPS PUB 197 (Rijndael).
|
SMS4 |
TWOFISH |
Modifier and Type | Method and Description |
---|---|
static DOFCipher.Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DOFCipher.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOFCipher.Algorithm AES
public static final DOFCipher.Algorithm TWOFISH
public static final DOFCipher.Algorithm SMS4
public static DOFCipher.Algorithm[] values()
for (DOFCipher.Algorithm c : DOFCipher.Algorithm.values()) System.out.println(c);
public static DOFCipher.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 namejava.lang.NullPointerException
- if the argument is null