Class SaltedHashPasswordSpec
- java.lang.Object
-
- org.wildfly.security.password.spec.SaltedHashPasswordSpec
-
- All Implemented Interfaces:
KeySpec
,PasswordSpec
public class SaltedHashPasswordSpec extends Object implements PasswordSpec
APasswordSpec
for a password represented by a hash with a salt.- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description SaltedHashPasswordSpec(byte[] hash, byte[] salt)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
byte[]
getHash()
Get a password hash bytes.byte[]
getSalt()
Get the salt bytes.int
hashCode()
-