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

AAL2ProcMessageInformation

  • 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 AAL2ProcMessageInformation (
                                      aat_ascii     *PKBlob,
                                      TKernelParms  *CallParms,
                                      aat_ascii     *InformationMessage,
                                      aat_ascii     *InformationBody,
                                      aat_int32     *InformationBodyLength);

Description

This function is used to extract a clear response body from a information message, using the payload key embedded into the payload key BLOB.

The payload key BLOB, required only if the information message is protected (encrypted and/or signed), must be mandatorily the one corresponding to the Digipass serial number of the client device that generated the information message.

For Digipass client devices supporting the information, the information message will be sent by the device to a server.

The information message processing is only applicable to software Digipass authenticators compliant with the Secure Channel protocol and able to generate Secure Channel information messages.

Parameters

  Table: Parameters (AAL2ProcMessageInformation)
TypeNameUseDescription
aat_ascii *PKBlobI

Contains the payload key BLOB that has been generated for the Digipass instances activated with a particular serial number license (in case of the multi-device licensing model) or that has been imported for the Digipass authenticator with a particular serial number license (in case of single-device licensing model). The payload key BLOB parameter is mandatory only if the information message is protected (encrypted and/or signed); can be NULL or empty if the information message is not protected (neither encrypted nor signed).

TKernelParms *CallParmsIStructure of runtime parameters to use during this function call.
aat_ascii *InformationMessageI

Hexadecimal character string containing the information message that has been generated by the Digipass client device.The string length must be a multiple of 2 with a maximum length of 1070 characters.

aat_ascii *InformationBodyO

String of up to 1024+1 hexadecimal characters, null-terminated. In case of a successful operation, this parameter contains the clear response body extracted from the InformationMessage.

aat_int32 *InformationBodyLengthI/O

In input, this parameter must indicate the size of the allocated buffer for the InformationBody parameter (recommended are 1025 bytes).

In output, this parameter indicates the length of the InformationBody string (without the null-terminated character).

Return codes

  Table: Return codes (AAL2ProcMessageInformation)
CodeMeaningCodeMeaning
0Success1341Message is not hexadecimal
412Invalid checksum1343Invalid information message length
413Invalid Base64 format1347Invalid information message protection type
807Serial number not equal1353Payload key BLOB is mandatoryBLOB
1000Function does not support EMV-CAP1356

Invalid information message pointer

1119Unsupported payload key BLOB1357Invalid information body pointer
1285Master key derivation failed1358Invalid information body length pointer
1288Invalid serial number prefix1359Information body buffer is too small
1289Invalid serial number suffix1360Invalid information message type
1302AES CTR encryption failed1361Invalid authentication tag
1337Unsupported message protocol version-1501Memory allocation failed
1338Unsupported message type  

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