public static enum AESCryptor.KeySize extends java.lang.Enum<AESCryptor.KeySize>
Modifier and Type | Method and Description |
---|---|
static AESCryptor.KeySize |
find(int val) |
int |
size() |
static AESCryptor.KeySize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AESCryptor.KeySize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AESCryptor.KeySize AES128
public static final AESCryptor.KeySize AES192
public static final AESCryptor.KeySize AES256
public static AESCryptor.KeySize[] values()
for (AESCryptor.KeySize c : AESCryptor.KeySize.values()) System.out.println(c);
public static AESCryptor.KeySize 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 size()
public static AESCryptor.KeySize find(int val)