
public final class OneTimePasswordSpec extends Object implements PasswordSpec
PasswordSpec for a one-time password as defined in RFC 2289.| Constructor and Description |
|---|
OneTimePasswordSpec(byte[] hash,
String seed,
int sequenceNumber)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
byte[] |
getHash()
Gets the hash.
|
String |
getSeed()
Gets the seed.
|
int |
getSequenceNumber()
Gets the sequence number.
|
int |
hashCode() |
public OneTimePasswordSpec(byte[] hash,
String seed,
int sequenceNumber)
hash - the hash bytesseed - the seedsequenceNumber - the sequence numberpublic byte[] getHash()
public String getSeed()
public int getSequenceNumber()
Copyright © 2020 JBoss by Red Hat. All rights reserved.