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