TrueZIP Driver ZIP.RAES (TZP) 7.1

de.schlichtherle.truezip.crypto.raes
Enum Type0RaesParameters.KeyStrength

java.lang.Object
  extended by java.lang.Enum<Type0RaesParameters.KeyStrength>
      extended by de.schlichtherle.truezip.crypto.raes.Type0RaesParameters.KeyStrength
All Implemented Interfaces:
Serializable, Comparable<Type0RaesParameters.KeyStrength>
Enclosing interface:
Type0RaesParameters

public static enum Type0RaesParameters.KeyStrength
extends Enum<Type0RaesParameters.KeyStrength>

Defines the key strength for the AES algorithm.


Enum Constant Summary
BITS_128
          Enum identifier for a 128 bit ciphering key.
BITS_192
          Enum identifier for a 192 bit ciphering key.
BITS_256
          Enum identifier for a 256 bit ciphering key.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BITS_128

public static final Type0RaesParameters.KeyStrength BITS_128
Enum identifier for a 128 bit ciphering key.


BITS_192

public static final Type0RaesParameters.KeyStrength BITS_192
Enum identifier for a 192 bit ciphering key.


BITS_256

public static final Type0RaesParameters.KeyStrength BITS_256
Enum identifier for a 256 bit ciphering key.

Method Detail

values

public static Type0RaesParameters.KeyStrength[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Type0RaesParameters.KeyStrength c : Type0RaesParameters.KeyStrength.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Type0RaesParameters.KeyStrength valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

TrueZIP Driver ZIP.RAES (TZP) 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.