Class OneTimePasswordAlgorithmSpec
java.lang.Object
org.wildfly.security.password.spec.OneTimePasswordAlgorithmSpec
- All Implemented Interfaces:
Serializable, AlgorithmParameterSpec
public final class OneTimePasswordAlgorithmSpec
extends Object
implements AlgorithmParameterSpec, Serializable
Algorithm parameter specification for one-time password types as defined in RFC 2289.
- Author:
- Farah Juma
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOneTimePasswordAlgorithmSpec(String algorithm, String seed, int sequenceNumber) Construct a new instance. -
Method Summary
-
Constructor Details
-
OneTimePasswordAlgorithmSpec
-
-
Method Details
-
getAlgorithm
-
getSeed
-
getSequenceNumber
public int getSequenceNumber()Gets the sequence number.- Returns:
- the sequence number
-
equals
-
hashCode
-