public static enum AliceContext.Pbkdf extends java.lang.Enum<AliceContext.Pbkdf>
Enum Constant and Description |
---|
NONE
Use password as is.
|
PBKDF_2_WITH_HMAC_SHA_1
Password-based key-derivation algorithm found in PKCS #5 2.0
using the specified pseudo-random function
|
PBKDF_2_WITH_HMAC_SHA_256
Password-based key-derivation algorithm found in PKCS #5 2.0
using the specified pseudo-random function
|
PBKDF_2_WITH_HMAC_SHA_384
Password-based key-derivation algorithm found in PKCS #5 2.0
using the specified pseudo-random function
|
PBKDF_2_WITH_HMAC_SHA_512
Password-based key-derivation algorithm found in PKCS #5 2.0
using the specified pseudo-random function
|
SHA_1
SHA-1 hash the password
|
SHA_224
SHA-224 hash the password
|
SHA_256
SHA-256 hash the password
|
SHA_384
SHA-384 hash the password
|
SHA_512
SHA-512 hash the password
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
|
static AliceContext.Pbkdf |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliceContext.Pbkdf[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliceContext.Pbkdf NONE
public static final AliceContext.Pbkdf SHA_1
public static final AliceContext.Pbkdf SHA_224
public static final AliceContext.Pbkdf SHA_256
public static final AliceContext.Pbkdf SHA_384
public static final AliceContext.Pbkdf SHA_512
public static final AliceContext.Pbkdf PBKDF_2_WITH_HMAC_SHA_1
public static final AliceContext.Pbkdf PBKDF_2_WITH_HMAC_SHA_256
public static final AliceContext.Pbkdf PBKDF_2_WITH_HMAC_SHA_384
public static final AliceContext.Pbkdf PBKDF_2_WITH_HMAC_SHA_512
public static AliceContext.Pbkdf[] values()
for (AliceContext.Pbkdf c : AliceContext.Pbkdf.values()) System.out.println(c);
public static AliceContext.Pbkdf valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no
constant with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AliceContext.Pbkdf>