This function creates a command that directs the HSM to generate the Activation Message 2 and the Digipass instance using the given data, and to return a result in the form of a reply. This Activation Message 2 allows activating a Digipass instance of a license in the device.
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 payload key BLOB must be used with this function only if the Secure Channel feature has been ordered (configured by OneSpan at the time of order). No payload key BLOB must be used (parameter NULL or empty string) if the Secure Channel feature has not been ordered.
The Activation Message 2 and Digipass instance generation on the HSM is identical to the functionality available with the Authentication Suite Server SDK Software Digipass Multi-Device Activation Service. For information on the associated functions, refer to the Authentication Suite Server SDK C-C++ Programmer's Guide.
This function must be used with the post-HSM API AAL2ProcGenMessageActivation2Rpl.
Up to 4688 bytes that serialize theGENERATE ACTIVATION MESSAGE 2 command type and the input data to the generate Activation Message 2 function on the HSM:
Plus 36 bytes for Authentication Suite Server SDK internal use.
aat_int32 *
CmdSize
I/O
On entry, this parameter contains the size of the Cmd buffer.On exit, this parameter contains the length of the Cmd message.
TDigipassBlob
DPMAData
I
Digipass master activation application BLOB of the Digipass serial number license that will be used for the activation.
aat_ascii *
PKBlob
I
Contains the payload key BLOB of the Digipass serial number to activate. Mandatory if the Secure Channel feature has been ordered. Must be NULL or an empty string if the Secure Channel feature has not been ordered.
TKernelParms *
CallParms
I
Structure of runtime parameters to use during this function call.
aat_ascii *
aStorageKeyNameIn
I
String of up to 128+1 characters, left-justified, null-terminated, or right-padded with spaces. This is the label of the HSM storage key used to encrypt the sensitive Digipass application BLOB data.
aat_ascii *
aIVIn
I
String of 16 hexadecimal characters, left-justified, null-terminated, or right-padded with spaces. This is the initial vector used to encrypt the sensitive authenticator application BLOB data.
aat_ascii *
StaticVector
I
Software Digipass parameter settings, up to 4094 characters, null-terminated.
aat_ascii *
MessageVector
I
A string of up to 26+1 characters containing the message parameter settings, null-terminated (obtained during import).
aat_ascii *
DeviceID
I
Hexadecimal string containing the device ID value of the Digipass device to bind with (8 hexadecimal characters), obtained after device code validation.