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

AAL2GenPayloadKeyBlob

  • 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 AAL2GenPayloadKeyBlob (
                                 TDigipassBlob   *DPMAData,
                                 TKernelParms    *CallParms,
                                 aat_ascii       *MessageVector,
                                 aat_ascii       *PKBlob,
                                 aat_int32       *PKBlobLength);,

Description

This function generates a payload key BLOB embedding a randomly generated payload key.

It is only applicable to hardware or software Digipass authenticators compliant with the multi-device two-step activation (in the context of multi-device licensing). For more information, refer to the Authentication Suite Server SDK Product Guide.

The Secure Channel feature, optionally applicable after the activation of a compliant Digipass authenticator, allows protecting the messages exchanged between the server and the client (request messages and deactivation messages). During the activation process, the Secure Channel feature requires provisioning of a payload key represented on the server-side by a payload key BLOB.

In this case, first a payload key BLOB will have to be generated once for each Digipass serial number license.

Payload key BLOBs must be generated only if the Digipass authenticator uses the Secure Channel feature and have to be post-provisioned (DPX does not contain payload key).

No payload key BLOB must be generated if the payload key BLOB has been obtained during import (AAL2DPXGetTokenBlobsEx2) or if the Digipass authenticator does not support the Secure Channel feature.

The different Digipass instances activated from one Digipass serial number license must use the same payload key BLOB to be provisioned with the same payload key.

Parameters

  Table: Parameters (AAL2GenPayloadKeyBlob)
TypeNameUseDescription
TDigipassBlobDPMADataI/O

Digipass master activation application BLOB of the Digipass serial number license that will be used for the activation. 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 *MessageVectorIA string of up to 26+1 characters containing the message parameter settings, null-terminated (obtained during import).
aat_ascii *PKBlobOA string of 88+1 characters, null-terminated. It contains the generated payload key BLOB for a Digipass serial number license. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.
aat_int32 *

PKBloblength

I/O

In input, this parameter must indicate the size of the allocated buffer for the PKBlob parameter (recommended 89 bytes).

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

Return codes

  Table: Return codes (AAL2GenPayloadKeyBlob)
CodeMeaningCodeMeaning
0Success1265Invalid master application data pointer
412Invalid checksum1266Invalid message vector pointer
413Invalid Base64 format1267Invalid message vector length
1000Function does not support EMV-CAP1268Invalid message vector version
1025Buffer too small1286Invalid payload key data pointer
1118Unsupported BLOB1287Invalid payload key data length pointer
1262Payload key data buffer too small1310Invalid payload key type
1264Invalid master application1316Secure Channel not supported

Cet article vous a-t-il été utile ?

What's Next
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