public enum SymmetricAlgorithm extends Enum<SymmetricAlgorithm> implements SecurityAlgorithm
| Enum Constant and Description |
|---|
AES |
BLOWFISH |
DES |
RC4 |
TRIPLE_DES |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithmName() |
static SymmetricAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymmetricAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SymmetricAlgorithm AES
public static final SymmetricAlgorithm DES
public static final SymmetricAlgorithm TRIPLE_DES
public static final SymmetricAlgorithm RC4
public static final SymmetricAlgorithm BLOWFISH
public static SymmetricAlgorithm[] values()
for (SymmetricAlgorithm c : SymmetricAlgorithm.values()) System.out.println(c);
public static SymmetricAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getAlgorithmName()
getAlgorithmName in interface SecurityAlgorithmCopyright © 2020. All rights reserved.