Class HashPasswordSpec
- java.lang.Object
-
- org.wildfly.security.password.spec.HashPasswordSpec
-
- All Implemented Interfaces:
KeySpec
,PasswordSpec
public final class HashPasswordSpec extends Object implements PasswordSpec
A password specification for a password represented by a hash.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
digest
-
Constructor Summary
Constructors Constructor Description HashPasswordSpec(byte[] digest)
Construct new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
byte[]
getDigest()
Get a password hash.int
hashCode()
-