@ThreadSafe public static enum Type0RaesParameters.KeyStrength extends Enum<Type0RaesParameters.KeyStrength> implements KeyStrength
Enum Constant and Description |
---|
BITS_128
Enum identifier for a 128 bit AES cipher key.
|
BITS_192
Enum identifier for a 192 bit AES cipher key.
|
BITS_256
Enum identifier for a 256 bit AES cipher key.
|
Modifier and Type | Method and Description |
---|---|
int |
getBits()
Returns the key strength in bits.
|
int |
getBytes()
Returns the key strength in bytes.
|
String |
toString()
Returns a localized display string representing this key strength.
|
static Type0RaesParameters.KeyStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type0RaesParameters.KeyStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
ordinal
public static final Type0RaesParameters.KeyStrength BITS_128
public static final Type0RaesParameters.KeyStrength BITS_192
public static final Type0RaesParameters.KeyStrength BITS_256
public int getBits()
KeyStrength
getBits
in interface KeyStrength
public int getBytes()
KeyStrength
getBytes
in interface KeyStrength
public String toString()
KeyStrength
toString
in interface KeyStrength
toString
in class Enum<Type0RaesParameters.KeyStrength>
public static Type0RaesParameters.KeyStrength valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Type0RaesParameters.KeyStrength[] values()
for (Type0RaesParameters.KeyStrength c : Type0RaesParameters.KeyStrength.values()) System.out.println(c);
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.