AAL2AuthorizeUnlock
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

AAL2AuthorizeUnlock

  • 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 AAL2AuthorizeUnlock (
                               TDigipassBlob*   DPData,
                               TKernelParms*    CallParms,
                               aat_ascii*       aUnlockAuthCode,
                               aat_ascii*       RandomNumber,
                               aat_ascii*       UnlockCode);

Description

If a user's Digipass authenticator is locked because of wrong PIN entries, the Digipass administrator will be able to unlock this user with this function, which performs the following actions:

  • Validating the unlock authentication code
  • If the unlock authentication code is correct, obtaining the initialized unlock information of the user's Digipass authenticator from the authenticator application BLOB and performing the unlock code calculation.

This function authenticates the user and generates an unlock code that the user enters into the Digipass authenticator in response to the displayed random number.

If a Digipass instance has more than one application and an unlock mechanism not based on Unlock V2, AAL2SyncTokenBLOB should be called to synchronize the unlock authentication counter value stored in the different authenticator application BLOBs after a call to AAL2AuthorizeUnlock.

In case of Unlock V2 support, the Authorize Unlock function must be used with the dedicated Unlock V2 BLOB instead of the Digipass authentication BLOB. The synchronization mentioned above is not applicable in this case.

Parameters

  Table: Parameters (AAL2AuthorizeUnlock)
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_ascii *UnlockAuthCodeI

String of up to 8 numeric characters, null-terminated or padded with spaces. This parameter holds the unlock authentication code that is generated by AAL2GenUnlAuthCode.

aat_ascii * RandomNumberIString of up to 8 numeric characters, null-terminated or padded with spaces. This parameter holds the random number that is generated and displayed by a Digipass authenticator when it gets locked.
aat_ascii * UnlockCodeOString of 7 or 8 numeric characters which the user needs to enter into the Digipass authenticator to unlock it (recommended buffer size is 9 bytes).

Return codes

  Table: Return codes (AAL2AuthorizeUnlock)
CodeMeaningCodeMeaning
0Success811Invalid unlock authentication code pointer
133Invalid RandomNumber pointer813Unlock authentication code is too short
134Invalid UnlockCode pointer814Unlock authentication code is too long
138Unlock function not supported1000Function does not support EMV-CAP
208Application disabled1104Virtual token is not a primary token
209Grace period expired1118Unsupported BLOBBLOB
210Allowed use count reached-101Random number too small
211Virtual token not supported-102Random number too long
412Invalid checksum-103Random number check digit wrong
413Invalid Base64 format-104Random number character not decimal
510Invalid Digipass data pointer-310Invalid reserved parameter
810Unlock authentication code validation failed-1501Memory allocation failed

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