HID APPROVE SDK
5.11
HID Approve SDK for Android
|
Defines the TOTP algorithm parameters. More...
Public Member Functions | |
long | getClock () |
int | getCodeDigits () |
String | getMACAlgo () |
long | getStartTime () |
long | getTimeStep () |
int | getTruncationOffset () |
boolean | isChecksumUsed () |
void | setClock (long clock) |
void | setCodeDigits (int codeDigits) |
void | setMACAlgo (String algorithm) |
void | setStartTime (long startTime) |
void | setTimeStep (long timeStep) |
void | setTruncationOffset (int truncationOffset) |
void | setUseChecksum (boolean useChecksum) |
![]() | |
Set< String > | getModes () |
int | getStandardVersion () |
void | setModes (Set< String > authModes) |
void | setStandardVersion (int standardVersion) |
Defines the TOTP algorithm parameters.
|
inline |
Return the clock used for the calculation (seconds)
|
inline |
|
inline |
|
inline |
Return the start time used for clock synchronization.
|
inline |
Return the timestep used for calculation.
|
inline |
|
inline |
|
inline |
Sets the clock value.
clock | the clock value |
|
inline |
Sets the number of truncated digits.
codeDigits | the number of truncated digits |
|
inline |
Sets the MAC algorithm value.
algorithm | the MAC algorithm value |
|
inline |
Sets the start time used for clock synchronization.
startTime | Start Time as number of seconds. |
|
inline |
Sets the time step
timeStep | the time step |
|
inline |
Sets the truncation offset
truncationOffset | the truncation offset |
|
inline |
Sets the use of the checksum
useChecksum | true if checksum must be used |