This article describes the function(s) on which the request message generation functionality is based. It contains information about parameters and possible return codes, as well as a prototype for each function.
The request message generation functionality is applicable:
- To hardware or software Digipass authenticators compliant with the multi-device two-step activation (in the context of multi-device licensing) and if the Secure Channel feature has been ordered (configured by OneSpan at the time of order).
- To hardware Digipass authenticators based on the single-device licensing model and able to perform operations based on the Secure Channel protocol.
For more information, refer to the Authentication Suite Server SDK Product Guide.
AAL2GenMessageRequestICSF
Function prototype
aat_int32 AAL2GenMessageRequestICSF (
aat_ascii *PKBlob,
TKernelParms *CallParms,
aat_ascii *aStorageKeyNameIn,
aat_ascii *aInitialVectorIn,
aat_ascii *MessageVector,
aat_ascii *RequestBody,
aat_ascii *RequestMessage,
aat_int32 *RequestMessageLength);Description
This function is used to generate a request message from a clear request body, using the payload key embedded into the payload key BLOB.
The payload key BLOB must be the one corresponding to the Digipass serial number the request message will target.
The request message generation is only applicable to hardware and software Digipass compliant with the Secure Channel protocol.
Parameters
COBOL calling convention
Entry point: AA2GMRIC
02 W-PKBLOB PIC X(89).
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-REQBODY PIC X(1024).
02 W-REQMSG PIC X(1071).
02 W-REQMSG-LENGTH PIC 9(8) USAGE BINARY VALUE 1071.
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 'AA2GMRIC'.
. . .
CALL W-API-NAME USING
BY REFERENCE W-PKBLOB
BY REFERENCE W-KERNELPARMS
BY REFERENCE W-STORAGEKEY
BY REFERENCE W-INITVECTOR
BY REFERENCE W-MSGVECTOR
BY REFERENCE W-REQBODY
BY REFERENCE W-REQMSG
BY REFERENCE W-REQMSG-LENGTH
RETURNING W-RETURN