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