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

AAL2ChangeStaticPasswordICSF

  • 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 (aal2sdk.h)

aat_int32 AAL2ChangeStaticPasswordICSF (
                                    TDigipassBlob*   DPBlob,
                                    TKernelParms*    CallParms,
                                    aat_ascii*       aStorageKeyNameIn,
                                    aat_ascii*       aInitialVectorIn,
                                    aat_ascii*       NewStaticPassword1,
                                    aat_ascii*       NewStaticPassword2);

Description

This function is used with a Digipass authenticator that can use static passwords (e.g. Digipass GO 3). It allows administrators to provide a new static password on a mandatory basis. As this function is critical, only an authenticated user may use it in a regular integration.

Parameters

  Table: Parameters (AAL2ChangeStaticPasswordICSF)
TypeNameUseDescription
TDigipassBlob *DPBlobI/Oauthenticator application BLOB.
TKernelParms * CallParmsIStructure of runtime parameters to use during this function call.
aat_ascii *aStorageKeyNameInI

String of up to 64+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 authenticator application BLOB data.

aat_ascii *aInitialVectorInIString 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 *NewStaticPassword2I

Second entry confirmation of the password change trial. Must be identical to NewStaticPassword1.

COBOL calling convention

Entry point: AA2CSPIC

02 W-BLOB                PIC X(248).
02 W-KERNELPARMS.
     03 W-PARMCOUNT      PIC 9(8) USAGE BINARY.
     03 W-PARM01         PIC 9(8) USAGE BINARY.
     . . .
     03 W-PARM19         PIC 9(8) USAGE BINARY.
02 W-STORAGEKEY          PIC X(65).
02 W-INITVECTOR          PIC X(17).
02 W-OLDPIN              PIC X(9).
02 W-NEWPIN              PIC X(9).
02 W-RETURN              PIC S9(8) USAGE BINARY.
02 W-API-NAME            PIC X(8) VALUE 'AA2CSPIC'.

. . .

CALL W-API-NAME USING
       BY REFERENCE W-BLOB
       BY REFERENCE W-KERNELPARMS
       BY REFERENCE W-STORAGEKEY
       BY REFERENCE W-INITVECTOR
       BY REFERENCE W-OLDPIN
       BY REFERENCE W-NEWPIN
       RETURNING W-RETURN.

Return codes

  Table: Return codes (AAL2ChangeStaticPasswordICSF)
CodeMeaningCodeMeaning
0Success805Password not equal
130Invalid response pointer900Invalid session context handle
412Invalid checksum (software)908HSM key not found
413Invalid Base64 format951Invalid HSM key type for HSM decryption
414Invalid checksum (HSM)1000Function does not support EMV-CAP
510Invalid Digipass data pointer1103Unlock Version 2 not supported
801Static password not supported1118Unsupported BLOB
803New password too short-1501Memory allocation failed
804New password too long  

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