
public class IteratedSaltedHashPasswordSpec extends Object implements PasswordSpec
PasswordSpec for a password represented by a hash with a salt and a iteration count or cost.| Constructor and Description |
|---|
IteratedSaltedHashPasswordSpec(byte[] hash,
byte[] salt,
int iterationCount)
Construct a new instance.
|
| Modifier and Type | Method and 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() |
public IteratedSaltedHashPasswordSpec(byte[] hash,
byte[] salt,
int iterationCount)
hash - the password hash bytessalt - the salt bytesiterationCount - the iteration countCopyright © 2020 JBoss by Red Hat. All rights reserved.