public static enum AliceContext.KeyLength extends java.lang.Enum<AliceContext.KeyLength>
Enum Constant and Description |
---|
BITS_128
|
BITS_192
|
BITS_256
|
BITS_64
|
Modifier and Type | Method and Description |
---|---|
int |
bits()
|
int |
bytes()
|
static AliceContext.KeyLength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliceContext.KeyLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliceContext.KeyLength BITS_64
public static final AliceContext.KeyLength BITS_128
public static final AliceContext.KeyLength BITS_192
public static final AliceContext.KeyLength BITS_256
public static AliceContext.KeyLength[] values()
for (AliceContext.KeyLength c : AliceContext.KeyLength.values()) System.out.println(c);
public static AliceContext.KeyLength 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 name
java.lang.NullPointerException
- if the argument is nullpublic int bits()
public int bytes()