AAL2ProcResetStaticPasswordRpl

Prev Next

Function prototype

aat_int32 AAL2ProcResetStaticPasswordRpl(
                                         aat_byte         *InReply,
                                         aat_int32         ReplySize,
                                         TDigipassBlob    *DPData);

Description

This function processes a reply from the HSM to a command generated either with AAL2GenResetStaticPasswordCmd or AAL2GenResetStaticPasswordCmdEx.

The Digipass static PIN management on the HSM 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 (AAL2ProcResetStaticPasswordRpl)
TypeNameUseDescription
aat_byte *InReplyI
  • Up to 206 bytes that contain the RESET STATIC PASSWORD command type and the output data from the reset static password function on the HSM:
  • Command type - 2 bytes
  • An authenticator application BLOB - 192 bytes
  • Return code - 4 bytes

Plus 8 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.

Return codes

  Table: Return codes (AAL2ProcResetStaticPasswordRpl)
CodeMeaningCodeMeaning
0Success912HSM invalid BLOB status
272Invalid wrapped key913Invalid HSM key property
412Invalid checksum (software)951Invalid HSM key type for HSM decryption
413Invalid Base64 format1009Invalid TLV total length
414Invalid checksum (HSM)1018Invalid TLV item pointer
510Invalid Digipass data pointer1019Missing mandatory TLV item
701Invalid input buffer pointer1025Data buffer too small
801Static password not supported1103Unlock Version 2 not supported
806Static password change not supported1118Unsupported BLOB
910Invalid command type in reply