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

AAL2GenAuthorizeUnlockCmd

  • 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 AAL2GenAuthorizeUnlockCmd(
                                    aat_byte         *Cmd,
                                    aat_int32        *CmdSize,
                                    TDigipassBlob    *DPData,
                                    TKernelParms     *CallParms,
                                    aat_ascii        *aUnlockAuthCodeIn,
                                    aat_ascii        *aRandomNumberIn);

Description

This function creates a command that directs the HSM to generate unlock code using the given data and to return a result in the form of a reply.

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.

This function must be used with the post-HSM API AAL2ProcAuthorizeUnlockRpl.

Parameters

  Table: Parameters (AAL2GenAuthorizeUnlockCmd)
TypeNameUseDescription
aat_byte *CmdO

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

  • Command type - 2 bytes
  • An authenticator application BLOB - 192 bytes
  • Runtime parameters - 80 bytes
  • Unlock authentication code - up to 8 characters
  • Unlock challenge - up to 8 characters

Plus 16 bytes for Authentication Suite Server SDK internal use.

aat_int32 *CmdSizeI/O

On entry, this parameter contains the size of the Cmd buffer.On exit, this parameter contains the length of the Cmd message.

T *DPDataIauthenticator application BLOB.
TKernelParms *CallParmsI

Structure of runtime parameters to use during this function call.

aat_ascii *aUnlockAuthCodeInI

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

aat_int32 *aRandomNumberInI

String of up to 8+1 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 (unlock challenge).

Return codes

  Table: Return codes (AAL2GenAuthorizeUnlockCmd)
CodeMeaningCodeMeaning
0Success706Invalid data buffer pointer
133Invalid RandomNumber pointer811Invalid unlock authentication code pointer
412Invalid checksum (software)1000Function does not support EMV-CAP
413Invalid Base64 format1018Invalid TLV item pointer
510Invalid Digipass data pointer1025Data buffer too small
590Invalid command pointer  

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