org.owasp.esapi.crypto
Enum KeyDerivationFunction.PRF_ALGORITHMS

java.lang.Object
  extended by java.lang.Enum<KeyDerivationFunction.PRF_ALGORITHMS>
      extended by org.owasp.esapi.crypto.KeyDerivationFunction.PRF_ALGORITHMS
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KeyDerivationFunction.PRF_ALGORITHMS>
Enclosing class:
KeyDerivationFunction

public static enum KeyDerivationFunction.PRF_ALGORITHMS
extends java.lang.Enum<KeyDerivationFunction.PRF_ALGORITHMS>


Enum Constant Summary
HmacSHA1
           
HmacSHA256
           
HmacSHA384
           
HmacSHA512
           
 
Method Summary
 java.lang.String getAlgName()
           
 short getBits()
           
 byte getValue()
           
static KeyDerivationFunction.PRF_ALGORITHMS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KeyDerivationFunction.PRF_ALGORITHMS[] 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

HmacSHA1

public static final KeyDerivationFunction.PRF_ALGORITHMS HmacSHA1

HmacSHA256

public static final KeyDerivationFunction.PRF_ALGORITHMS HmacSHA256

HmacSHA384

public static final KeyDerivationFunction.PRF_ALGORITHMS HmacSHA384

HmacSHA512

public static final KeyDerivationFunction.PRF_ALGORITHMS HmacSHA512
Method Detail

values

public static KeyDerivationFunction.PRF_ALGORITHMS[] 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 (KeyDerivationFunction.PRF_ALGORITHMS c : KeyDerivationFunction.PRF_ALGORITHMS.values())
    System.out.println(c);

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

valueOf

public static KeyDerivationFunction.PRF_ALGORITHMS valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public byte getValue()

getBits

public short getBits()

getAlgName

public java.lang.String getAlgName()


Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.