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

AAL2ProcUnlockAuthCodeRpl

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

Description

This function processes a reply from the HSM to a command generated with either AAL2GenUnlockAuthCodeCmd or AAL2GenUnlockAuthCodeCmdEx.

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 (AAL2ProcUnlockAuthCodeRpl)
TypeNameUseDescription
aat_byte *InReplyI

Up to 230 bytes that contain the GEN UNLOCK AUTH CODE command type and the output data from the unlock auth code function on the HSM:

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

Plus 20 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 *aUnlockAuthCodeOutOUnlock authentication code. Up to 8+1 numeric characters, which the user needs to provide to the administrator to be authenticated during a Digipass unlock procedure.
aat_int32UnlockAuthCodeLenInIBuffer size of aUnlockAuthCodeOut.
aat_int32 *UnlockAuthCounterOutO(Optional) Counter value used to generate the unlock authentication code.

Return codes

  Table: Return codes (AAL2ProcUnlockAuthCodeRpl)
CodeMeaningCodeMeaning
0Success912HSM invalid BLOB status
138Unlock function not supported913Invalid HSM key property
272Invalid wrapped key951Invalid HSM key type for HSM decryption
412Invalid checksum (software)1009Invalid TLV total length
413Invalid Base64 format1018Invalid TLV item pointer
414Invalid checksum (HSM)1019Missing mandatory TLV item
510Invalid Digipass data pointer1025Data buffer too small
701Invalid input buffer pointer1118Unsupported BLOB
811Invalid unlock authentication code pointer1104Virtual token is not a primary token
812Invalid unlock authentication index-1501Memory allocation failed
910Invalid command type in reply  

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