@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, valueOfordinalpublic static final Type0RaesParameters.KeyStrength BITS_128
public static final Type0RaesParameters.KeyStrength BITS_192
public static final Type0RaesParameters.KeyStrength BITS_256
public int getBits()
KeyStrengthgetBits in interface KeyStrengthpublic int getBytes()
KeyStrengthgetBytes in interface KeyStrengthpublic String toString()
KeyStrengthtoString in interface KeyStrengthtoString 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-2013 Schlichtherle IT Services. All Rights Reserved.