Package org.owasp.esapi.crypto
Enum KeyDerivationFunction.PRF_ALGORITHMS
- java.lang.Object
-
- java.lang.Enum<KeyDerivationFunction.PRF_ALGORITHMS>
-
- 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
Enum Constants Enum Constant Description HmacSHA1
HmacSHA256
HmacSHA384
HmacSHA512
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public byte getValue()
-
getBits
public short getBits()
-
getAlgName
public java.lang.String getAlgName()
-
-