-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum PwHash.NeedsRehashResultPossible results of *NeedsRehash functions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_HASHThe string does not appear to be a valid hash.
NEEDS_REHASHThe string appears to be a valid hash but does not match the requested parameters; a new hash shouldbe computed the next time the user logs in.
NO_REHASH_NEEDEDThe parameters already match, no rehash is needed.
-
Method Summary
Modifier and Type Method Description static PwHash.NeedsRehashResultvalueOf(int alg)static Array<PwHash.NeedsRehashResult>values()static PwHash.NeedsRehashResultvalueOf(String name)-
-
Method Detail
-
valueOf
static PwHash.NeedsRehashResult valueOf(int alg)
-
values
static Array<PwHash.NeedsRehashResult> values()
-
valueOf
static PwHash.NeedsRehashResult valueOf(String name)
-
-
-
-