AAL2GetStateDataBlock (function)
- 23 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
AAL2GetStateDataBlock (function)
- Mis à jour le 23 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
Function prototype
aat_int32 AAL2GetStateDataBlock (
TDigipassBlob* DPData,
TKernelParms* CallParms,
aat_byte* bStateDataBlock,
aat_int32* StateDataBlockLength);
Description
This function generates a state data block from an authenticator application BLOB.
The buffer for StateDataBlock must be allocated by the client prior to the function call. It is returned as a byte string in the following format:
- Serial number on 22 ASCII characters
- Data block size on 4 bytes
- Data block version on 2 bytes
- Token status on 1 byte
- Static PIN length on 1 byte
- OTP length on 1 byte
- OTP format on 1 byte
- Codeword on 4 bytes
- LastTimeUsed value on 4 bytes
- LastTimeShift Value on 4 bytes
- Error counter on 4 bytes
- Use counter on 4 bytes
- Static PIN delta on 8 bytes
- CRC on 4 bytes
The allocated buffer size for bStateDataBlock must be 64 bytes.
Parameters
Return codes
Cet article vous a-t-il été utile ?