This function creates a command for the HSM to process. It is used to retrieve the version of the current Authentication Suite Server SDK for HSM module (Thales ProtectServer or Entrust nShield).
This function must be used with the post-HSM API AAL2ProcGetHSMModuleVersionRpl.
Parameters
Table: Parameters (AAL2GenGetHSMModuleVersionCmd)
Type
Name
Use
Description
aat_byte *
Cmd
O
Up to 2 bytes that serialize the GET HSM MODULE VERSION command type and the input data to the get Module HSM Module Version function on the HSM:
Command Type - 2 bytes
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.