Class IteratedSaltedHashPasswordSpec
- java.lang.Object
-
- org.wildfly.security.password.spec.IteratedSaltedHashPasswordSpec
-
- All Implemented Interfaces:
KeySpec
,PasswordSpec
public class IteratedSaltedHashPasswordSpec extends Object implements PasswordSpec
APasswordSpec
for a password represented by a hash with a salt and a iteration count or cost.- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description IteratedSaltedHashPasswordSpec(byte[] hash, byte[] salt, int iterationCount)
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.int
getIterationCount()
Get the iteration count.byte[]
getSalt()
Get the salt bytes.int
hashCode()
-