public static enum Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm extends Enum<Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm>
SecretKeyFactory
Enum Constant and Description |
---|
PBKDF2WithHmacSHA1 |
PBKDF2WithHmacSHA256 |
PBKDF2WithHmacSHA512 |
Modifier and Type | Method and Description |
---|---|
static Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm PBKDF2WithHmacSHA1
public static final Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm PBKDF2WithHmacSHA256
public static final Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm PBKDF2WithHmacSHA512
public static Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm[] values()
for (Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm c : Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm.values()) System.out.println(c);
public static Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm 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 null