public enum AesAlgorithm extends java.lang.Enum<AesAlgorithm> implements Algorithm
AesAlgorithm for the Advanced Encryption Standard (AES), also known as Rijndael.| Enum Constant and Description |
|---|
AES
The enum constant for AES algorithm.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AES_KEY_LENGTH
The Constant AES_KEY_LENGTH.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Gets the algorithm for encryption or decryption.
|
static AesAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AesAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AesAlgorithm AES
public static final int AES_KEY_LENGTH
public static AesAlgorithm[] values()
for (AesAlgorithm c : AesAlgorithm.values()) System.out.println(c);
public static AesAlgorithm 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 nullpublic java.lang.String getAlgorithm()
AlgorithmgetAlgorithm in interface Algorithm