public enum PasswordCredentialHashAlgorithm extends Enum<PasswordCredentialHashAlgorithm>
Enum Constant and Description |
---|
BCRYPT |
MD5 |
PBKDF2 |
SHA_1 |
SHA_256 |
SHA_512 |
Modifier and Type | Method and Description |
---|---|
static PasswordCredentialHashAlgorithm |
fromValue(String value) |
String |
getValue() |
String |
toString() |
String |
toUrlQueryString(String prefix)
Convert the instance into URL query string.
|
static PasswordCredentialHashAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordCredentialHashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordCredentialHashAlgorithm BCRYPT
public static final PasswordCredentialHashAlgorithm MD5
public static final PasswordCredentialHashAlgorithm PBKDF2
public static final PasswordCredentialHashAlgorithm SHA_1
public static final PasswordCredentialHashAlgorithm SHA_256
public static final PasswordCredentialHashAlgorithm SHA_512
public static PasswordCredentialHashAlgorithm[] values()
for (PasswordCredentialHashAlgorithm c : PasswordCredentialHashAlgorithm.values()) System.out.println(c);
public static PasswordCredentialHashAlgorithm 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 nullpublic String getValue()
public String toString()
toString
in class Enum<PasswordCredentialHashAlgorithm>
public static PasswordCredentialHashAlgorithm fromValue(String value)
Copyright © 2017–2023 Okta. All rights reserved.