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