HID APPROVE SDK
5.11
HID Approve SDK for Android
|
Defines the HOTP algorithm parameters. More...
Public Member Functions | |
int | getCodeDigits () |
long | getCounter () |
String | getMACAlgo () |
int | getTruncationOffsets () |
boolean | isCheckSumUsed () |
void | setCodeDigits (int codeDigits) |
void | setCounter (long counter) |
void | setMACAlgo (String algorithm) |
void | setTruncationOffsets (int truncationOffset) |
void | useCheckSum (boolean useCheckSum) |
![]() | |
Set< String > | getModes () |
int | getStandardVersion () |
void | setModes (Set< String > authModes) |
void | setStandardVersion (int standardVersion) |
Defines the HOTP algorithm parameters.
|
inline |
Returns number of truncated digits (excluding the checksum digit).
|
inline |
Returns counter (Moving Factor) for calculation.
|
inline |
Message authentication code (MAC) Algorithm requested.
|
inline |
Offset used for truncation. Expected range is 0 - HashLength-5 (0-15 for HMAC-SHA-1), otherwise dynamic truncation is applied.
|
inline |
Determines if a checksum digit is added to the calculation.
|
inline |
Sets number of truncated digits (excluding the checksum digit).
codeDigits | number of truncated digits. |
|
inline |
Sets counter (Moving Factor) for calculation.
counter | (Moving Factor) as unsigned long for calculation. |
|
inline |
Sets message authentication code (MAC) Algorithm requested.
algorithm | friendly name for MAC Algorithm. |
|
inline |
Sets offset used for truncation. Expected range is 0 - HashLength-5 (0-15 for HMAC-SHA-1), otherwise dynamic truncation is applied.
truncationOffset | offset used for truncation. |
|
inline |
Enables checksum digit is added to the calculation.
useCheckSum | the use of a checksum |