public enum PasswordHashAlgorithmType extends Enum<PasswordHashAlgorithmType>
| Enum Constant and Description |
|---|
MD5 |
None |
SHA1 |
SHA256 |
SHA384 |
SHA512 |
| Modifier and Type | Method and Description |
|---|---|
static PasswordHashAlgorithmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordHashAlgorithmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordHashAlgorithmType None
public static final PasswordHashAlgorithmType SHA1
public static final PasswordHashAlgorithmType MD5
public static final PasswordHashAlgorithmType SHA256
public static final PasswordHashAlgorithmType SHA384
public static final PasswordHashAlgorithmType SHA512
public static PasswordHashAlgorithmType[] values()
for (PasswordHashAlgorithmType c : PasswordHashAlgorithmType.values()) System.out.println(c);
public static PasswordHashAlgorithmType 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 nullCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.