Enum Constant and Description |
---|
AES128 |
AES256 |
ChaCha128 |
ChaCha256 |
HMACSHA256 |
HMACSHA384 |
HMACSHA512 |
POLY1305AES |
Rijndael128 |
Rijndael256 |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
alg |
int |
ivSize |
int |
keySize |
Modifier and Type | Method and Description |
---|---|
static KeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyType Rijndael128
public static final KeyType Rijndael256
public static final KeyType AES128
public static final KeyType AES256
public static final KeyType HMACSHA256
public static final KeyType HMACSHA384
public static final KeyType HMACSHA512
public static final KeyType POLY1305AES
public static final KeyType ChaCha128
public static final KeyType ChaCha256
public final java.lang.String alg
public final int keySize
public final int ivSize
public static KeyType[] values()
for (KeyType c : KeyType.values()) System.out.println(c);
public static KeyType 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 null