public static enum PwHash.Alg extends java.lang.Enum<PwHash.Alg>
| Enum Constant and Description |
|---|
PWHASH_ALG_ARGON2I13 |
PWHASH_ALG_ARGON2ID13 |
| Modifier and Type | Method and Description |
|---|---|
static PwHash.Alg |
getDefault() |
int |
getValue() |
static PwHash.Alg |
valueOf(int alg) |
static PwHash.Alg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PwHash.Alg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PwHash.Alg PWHASH_ALG_ARGON2I13
public static final PwHash.Alg PWHASH_ALG_ARGON2ID13
public static PwHash.Alg[] values()
for (PwHash.Alg c : PwHash.Alg.values()) System.out.println(c);
public static PwHash.Alg 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 namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static PwHash.Alg getDefault()
public static PwHash.Alg valueOf(int alg)