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

AAL2GenPassword

  • 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 AAL2GenPassword( TDigipassBlob*   DPData,
                           TKernelParms*    CallParms,
                           aat_ascii*       Password,
                           aat_ascii*       Challenge);

Description

If Virtual Mobile Authenticator is supported and activated for the given Digipass application BLOB, this function can be used to generate a dynamic one-time password.

Parameters

  Table: Parameters (AAL2GenPassword)
TypeNameUseDescription
TDigipassBlob * DPDataI/Oauthenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes..
TKernelParms *CallParmsIStructure of runtime parameters to use during this function call.
aat_ascii *PasswordO

String of up to 17 numeric or hexadecimal characters, left-justified, null-terminated, or right-padded with spaces. This is the dynamic password generated by the library (recommended buffer size is 18 bytes).

aat_ascii *ChallengeIString of up to 17 numeric characters, left-justified, null-terminated, or right-padded with spaces. This parameter holds the challenge which may have been proposed to the user to generate CodeToVerify. If no challenge was generated, this parameter should be NULL.

Return codes

  Table: Return codes (AAL2GenPassword)
CodeMeaningCodeMeaning
0Success1103Unlock Version 2 not supported
130Invalid response pointer1116Response check digit not allowed
131Missing required challenge1117Challenge check digit not allowed
132Unsupported token type1118Unsupported BLOB
202Identification error threshold reached-101Challenge too short
208Application disabled-102Challenge too long
209Grace period expired-103Challenge check digit wrong
210Allowed use count reached-105Challenge minimum length not allowed
211Virtual Virtual token not supported-106Challenge maximum length not allowed
412Invalid checksum-107Challenge number wrong
413Invalid Base64 format-108Challenge character invalid
510Invalid Digipass data pointer-1501Memory allocation failed

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