|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
ObjectEnum<SecretAlgorithm>
SecretAlgorithm
public enum SecretAlgorithm
Constants for symmetric encryption algorithms.
| Enum Constant Summary | |
|---|---|
AES128
Advanced Encryption Standard (AES) with 128 bit key. |
|
AES192
Advanced Encryption Standard (AES) with 192 bit key. |
|
AES256
Advanced Encryption Standard (AES) with 256 bit key. |
|
TRIPLEDES
Triple Data Encryption Algorithm (DES) with 3*56(=192) bit key. |
|
| Method Summary | |
|---|---|
static SecretAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SecretAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SecretAlgorithm TRIPLEDES
public static final SecretAlgorithm AES128
public static final SecretAlgorithm AES192
public static final SecretAlgorithm AES256
| Method Detail |
|---|
public static SecretAlgorithm[] values()
for (SecretAlgorithm c : SecretAlgorithm.values()) System.out.println(c);
public static SecretAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||