public enum SymmetricAlgorithm extends Enum<SymmetricAlgorithm>
Java class for SymmetricAlgorithm.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SymmetricAlgorithm">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="tripledes"/>
<enumeration value="aes128"/>
<enumeration value="aes192"/>
<enumeration value="aes256"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AES_128 |
AES_192 |
AES_256 |
TRIPLE_DES |
| Modifier and Type | Method and Description |
|---|---|
static SymmetricAlgorithm |
fromValue(String v) |
String |
value() |
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 TRIPLE_DES
public static final SymmetricAlgorithm AES_128
public static final SymmetricAlgorithm AES_192
public static final SymmetricAlgorithm AES_256
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 value()
public static SymmetricAlgorithm fromValue(String v)