Class SaltedHashPasswordSpec
- java.lang.Object
-
- org.wildfly.security.password.spec.SaltedHashPasswordSpec
-
- All Implemented Interfaces:
KeySpec,PasswordSpec
public class SaltedHashPasswordSpec extends Object implements PasswordSpec
APasswordSpecfor 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 booleanequals(Object other)byte[]getHash()Get a password hash bytes.byte[]getSalt()Get the salt bytes.inthashCode()
-