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

AAL2GenChangeStaticPasswordCmdEx

  • 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 AAL2GenChangeStaticPasswordCmdEx(
                                        aat_byte       *Cmd,
                                        aat_int32      *CmdSize,
                                        TDigipassBlob  *DPData,
                                        TKernelParms   *CallParms,
                                        aat_ascii      *aStorageKeyNameIn,
                                        aat_ascii      *aIVIn
                                        aat_ascii      *NewStaticPassword1,
                                        aat_ascii      *NewStaticPassword2);

Description

This function extends AAL2GenChangeStaticPasswordCmd. With this function, you can address the HSM storage key by name and to specify an initial vector. The initial vector is used during the 3DES/AES encryption of the sensitive authenticator application BLOB data.

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.

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

Parameters

  Table: Parameters (AAL2GenChangeStaticPasswordCmdEx)
TypeNameUseDescription
aat_byte *CmdO

Up to 450 bytes that serialize the CHANGE STATIC PASSWORD command type and the input data to the change static password function on the HSM:

  • Command type - 2 bytes
  • An authenticator application BLOB - 192 bytes
  • Runtime parameters - 80 bytes
  • StorageKeyName - up to 128 characters
  • InitialVector - 8 bytes
  • New static password - up to 8 characters
  • New static password confirmation - up to 8 characters

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

TDigipassBlob *DPDataIThe authenticator application BLOB.
TKernelParms *CallParmsI

Structure of runtime parameters to use during this function call.

aat_ascii *aStorageKeyNameInI

String of up to 128+1 characters, left-justified, null-terminated, or right-padded with spaces. This is the label of the HSM storage key used to encrypt the sensitive Digipass application BLOB data.

aat_ascii *aIVInI

String of 16 hexadecimal characters, left-justified, null-terminated, or right-padded with spaces. This is the initial vector used to encrypt the sensitive authenticator application BLOB data.

aat_ascii *NewStaticPassword1I

First entry of the password change trial. Up to 8 printable ASCII-EBCDIC invariant characters. Must be null-terminated.

For a list of the characters that can be used for the new static password, refer to the Authentication Suite Server SDK C-C++ Programmer's Guide, Section "Supported new static password charset".

aat_ascii *NewStaticPassword2ISecond entry confirmation of the password change trial. Must be identical to NewStaticPassword1.

Return codes

  Table: Return codes (AAL2GenChangeStaticPasswordCmdEx)
CodeMeaningCodeMeaning
0Success590Invalid command pointer
130Invalid response pointer706Invalid data buffer pointer
412Invalid checksum (software)1000Function does not support EMV-CAP
413Invalid Base64 format1018Invalid TLV item pointer
510Invalid Digipass data pointer1025Data buffer too small

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