public static enum SoftOathSettings.OcraPasswordHashAlgorithm extends Enum<SoftOathSettings.OcraPasswordHashAlgorithm>
Enum Constant and Description |
---|
NONE
If password is not used.
|
SHA1
SHA1.
|
SHA256
SHA-256.
|
SHA512
SHA-512
|
Modifier and Type | Method and Description |
---|---|
int |
getAlgo() |
int |
getDigestLength() |
static SoftOathSettings.OcraPasswordHashAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoftOathSettings.OcraPasswordHashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoftOathSettings.OcraPasswordHashAlgorithm NONE
public static final SoftOathSettings.OcraPasswordHashAlgorithm SHA1
public static final SoftOathSettings.OcraPasswordHashAlgorithm SHA256
public static final SoftOathSettings.OcraPasswordHashAlgorithm SHA512
public static SoftOathSettings.OcraPasswordHashAlgorithm[] values()
for (SoftOathSettings.OcraPasswordHashAlgorithm c : SoftOathSettings.OcraPasswordHashAlgorithm.values()) System.out.println(c);
public static SoftOathSettings.OcraPasswordHashAlgorithm 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 int getAlgo()
public int getDigestLength()