AAL2MXGenerateChallenge
- 22 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
AAL2MXGenerateChallenge
- Mis à jour le 22 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
Function prototype
aat_int32 AAL2MXGenerateChallenge (
TDigipassBlob* MXCardBlob,
TKernelParms* CallParms,
aat_int32 MXCardSequenceNumber,
aat_int32 NumberRows,
aat_int32 NumberColumns,
aat_int32 SecurityLevel,
aat_ascii* Challenge);
Description
This function is used to generate a challenge for a matrix card. A challenge consists in the concatenation of matrix card cell row ID and column ID:
- One digit for the row ID: from 1 to 9
- One digit for the column ID: from A to Z
This function randomly chooses a row index between 0 and NumberRows-1, and a column ID between 0 and NumberColumns-1. Then, the indexes are concatenated with the result of a two-digit index couple (row digit, column digit). The security level determines the number of couples in the challenge.
Parameters
Return codes
Cet article vous a-t-il été utile ?