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

AAL2GenerateChallengeEx

  • 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 AAL2GenerateChallengeEx (
                                   TDigipassBlob*   DPData,
                                   TKernelParms*    CallParms,
                                   aat_ascii*       Challenge,
                                   aat_int32*       ChallengeLength,
                                   aat_ascii*       ChallengeMessage);

Description

This function is an extension of AAL2GenerateChallenge. The functionality is identical except for the additional feature of formatting the challenge in a standard message format accepted by Digipass client components. The standard format is TOKEN-TYPE: [CHALLENGE], where TOKEN-TYPE is an expression of the physical Digipass model, and CHALLENGE is the generated challenge as given by Challenge.

Parameters

  Table: Parameters (AAL2GenerateChallengeEx)
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 *ChallengeOString of up to 17 numeric characters, which the user needs to enter into the Digipass authenticator to produce a dynamic password (recommended buffer size is 18 bytes).
aat_int32 *Challenge length OPointer to a long integer that contains the length of the generated challenge.
aat_ascii *Challenge messageO

Challenge message string. The message is null-terminated. The storage buffer where the message will be stored is provided by the caller and should be at least 100 bytes.

Providing a buffer of less than 100 bytes may trigger storage violation (recommended buffer size is 100 bytes).

Return codes

  Table: Return codes (AAL2GenerateChallengeEx)
CodeMeaningCodeMeaning
0Success1000Function does not support EMV-CAP
132Unsupported token type1103Unlock Version 2 not supported
135Invalid challenge pointer1116Response check digit not allowed
136Invalid ChallengeLength pointer1117Challenge check digit not allowed
137Challenge not supported1118Unsupported BLOB
145Invalid ChallengeMsg pointer-105Challenge minimum length not allowed
412Invalid checksum-106Challenge maximum length not allowed
413Invalid Base64 format-1501Memory allocation failed
510Invalid Digipass data pointer  

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