AAL2SyncStateData (function)
  • 23 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

AAL2SyncStateData (function)

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Function prototype

aat_int32 AAL2SyncStateData (
    TDigipassBlob*  DPData,
    TKernelParms*   CallParms,
    aat_byte*       bStateDataBlock,
    aat_int32       StateDataBlockLength);

Description

This function synchronizes an authenticator application BLOB with the state data block. It synchronizes the current event for event-based algorithms, the last time used and the last time shift for time-based algorithms, as well as the error and use counts.

Parameters

  Table: Parameters (AAL2SyncStateData)
TypeNameUseDescription
TDigipassBlob*DPDataI/OAuthenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.
TKernelParms*CallParmsIStructure of runtime parameters to use during this function call.
aat_byte*bStateDataBlockIData string of 64 bytes containing the last authenticator status.
aat_int32StateDataBlockLengthILength of the allocated state data block.

Return codes

  Table: Return codes (AAL2SyncStateData)
CodeMeaning
0Success
132Unsupported token type. Only time- or event-based authenticators are supported.
154State data block size too small
155Invalid time window
159Invalid state data block pointer
412Invalid state data block checksum
510Invalid Digipass data pointer
578Invalid BLOB status
807Hash data block does not match with the state data block
1103Unlock Version 2 not supported

Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle