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