Class IteratedSaltedPasswordAlgorithmSpec
- java.lang.Object
-
- org.wildfly.security.password.spec.IteratedSaltedPasswordAlgorithmSpec
-
- All Implemented Interfaces:
Serializable
,AlgorithmParameterSpec
public final class IteratedSaltedPasswordAlgorithmSpec extends Object implements AlgorithmParameterSpec, Serializable
Algorithm parameter specification for common hashed password types.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
iterationCount
private byte[]
salt
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description IteratedSaltedPasswordAlgorithmSpec(int iterationCount, byte[] salt)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
int
getIterationCount()
Get the iteration count.byte[]
getSalt()
Get the salt bytes.int
hashCode()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
iterationCount
private final int iterationCount
-
salt
private final byte[] salt
-
-