public enum EncryptionType extends java.lang.Enum<EncryptionType>
| Enum Constant and Description |
|---|
AES |
AES_THEN_MAC |
NONE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static EncryptionType |
parse(int value) |
static EncryptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionType NONE
public static final EncryptionType AES
public static final EncryptionType AES_THEN_MAC
public static EncryptionType[] values()
for (EncryptionType c : EncryptionType.values()) System.out.println(c);
public static EncryptionType 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 int getValue()
public static EncryptionType parse(int value) throws java.io.IOException
java.io.IOException