public static class HOTPMechanism.HOTPBuilder extends OathMechanism.OathBuilder<HOTPMechanism.HOTPBuilder>
accountName, algorithm, digits, issuer, mechanismUID, secret, timeAdded| Constructor and Description |
|---|
HOTPBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected HOTPMechanism.HOTPBuilder |
getThis() |
HOTPMechanism.HOTPBuilder |
setCounter(long counter)
Sets the counter for the OTP.
|
build, setAccountName, setAlgorithm, setDigits, setIssuer, setMechanismUID, setSecret, setTimeAddedprotected HOTPMechanism.HOTPBuilder getThis()
getThis in class OathMechanism.OathBuilder<HOTPMechanism.HOTPBuilder>public HOTPMechanism.HOTPBuilder setCounter(long counter)
counter - counter as an long number.