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

AAL2ProcAuthorizeUnlockRpl

  • 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 AAL2ProcAuthorizeUnlockRpl(
                                     aat_byte        *InReply,
                                     aat_int32        ReplySize,
                                     TDigipassBlob   *DPData,
                                     aat_ascii       *aUnlockAuthCodeOut,
                                     aat_word32       UnlockAuthCodeLenIn);

Description

This function processes a reply from the HSM to a command generated either with AAL2GenAuthorizeUnlockCmd or with AAL2GenAuthorizedUnlockCmdEx.

Unlocking Digipass with the HSM module is identical to the functionality available with the Authentication Suite Server SDK  Software Digipass Management Service. For information on the associated functions, refer to the Authentication Suite Server SDK C-C++ Programmer's Guide.

Parameters

  Table: Parameters (AAL2ProcAuthorizeUnlockRpl)
TypeNameUseDescription
aat_byte *InReplyI

Up to 218 bytes that contain the AUTHORIZE UNLOCK command type and the output data from the authorize unlock function on the HSM:

  • Command type - 2 bytes
  • An authenticator application BLOB - 192 bytes
  • Return code - 4 bytes
  • Unlock code - up to 8 characters

Plus 12 bytes for Authentication Suite Server SDK internal use.

aat_int32ReplySizeIThe length of the InReply message.
TDigipassBlob *DPDataO

authenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.

aat_ascii *aUnlockCodeOutOString of 7 or 8 + 1 numeric characters, which the needs to enter to unlock the Digipass authenticator (recommended buffer size is 9 bytes).
aat_int32UnlockCodeLenInIBuffer size of aUnlockCodeOut.

Return codes

  Table: Return codes (AAL2ProcAuthorizeUnlockRpl)
CodeMeaningCodeMeaning
0Success814Unlock authentication code is too long
134Invalid UnlockCode pointer910Invalid command type in reply
138Unlock function not supported912HSM invalid BLOB status
208Application disabled913Invalid HSM key property
209Grace period expired951Invalid HSM key type for HSM decryption
210Allowed use count reached1009Invalid TLV total length
211Virtual token not supported1018Invalid TLV item pointer
272Invalid wrapped key1019Missing mandatory TLV item
412Invalid checksum (software)1025Data buffer too small
413Invalid Base64 format1104Virtual token is not a primary token
414Invalid checksum (HSM)1118Unsupported BLOB
510Invalid Digipass data pointer-101Random number too short
701Invalid input buffer pointer-102Random number too long
810Unlock authentication code validation Failed-103Random number check digit wrong
811Invalid unlock authentication code pointer-104Random number character not decimal
813Unlock authentication code is too short  

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