public class IteratedHashPasswordSpec extends Object implements PasswordSpec
PasswordSpec
for a password represented by a hash with an iteration count or cost.Constructor and Description |
---|
IteratedHashPasswordSpec(byte[] hash,
int iterationCount)
Construct new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
byte[] |
getHash()
Get a password hash.
|
int |
getIterationCount()
Get an iteration count or cost.
|
int |
hashCode() |
public IteratedHashPasswordSpec(byte[] hash, int iterationCount)
hash
- the password hashiterationCount
- the iteration count or costCopyright © 2020 JBoss by Red Hat. All rights reserved.