- 22 Jan 2025
- 2 Minutes à lire
- SombreLumière
- PDF
AAL2GenPayloadKeyBlobICSF
- Mis à jour le 22 Jan 2025
- 2 Minutes à lire
- SombreLumière
- PDF
Function prototype
aat_int32 AAL2GenPayloadKeyBlobICSF (
TDigipassBlob *DPMAData,
TKernelParms *CallParms,
aat_ascii *aStorageKeyNameIn,
aat_ascii *aInitialVectorIn,
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
COBOL calling convention
Entry point: AA2GPKIC
02 W-MA-BLOB PIC X(248).
02 W-KERNELPARMS.
03 W-PARMCOUNT PIC 9(8) USAGE BINARY.
03 W-PARM01 PIC 9(8) USAGE BINARY.
. . .
03 W-PARM19 PIC 9(8) USAGE BINARY.
02 W-MSGVECTOR PIC X(27).
02 W-PKBLOB PIC X(89).
02 W-PKBLOB-LENGTH PIC 9(8) USAGE BINARY VALUE 89.
02 W-RETURN PIC S9(8) USAGE BINARY.
02 W-STORAGEKEY PIC X(65).
02 W-INITVECTOR PIC X(17).
02 W-API-NAME PIC X(8) VALUE 'AA2GPKIC'.
. . .
CALL W-API-NAME USING
BY REFERENCE W-MA-BLOB
BY REFERENCE W-KERNELPARMS
BY REFERENCE W-STORAGEKEY
BY REFERENCE W-INITVECTOR
BY REFERENCE W-MSGVECTOR
BY REFERENCE W-PKBLOB
BY REFERENCE W-PKBLOB-LENGTH
RETURNING W-RETURN