Function prototype
aat_int32 AAL2GenGetHSMModuleVersionCmd(
aat_byte *Cmd,
aat_int32 *CmdSize);Description
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
Return codes
| Code | Meaning | Code | Meaning |
|---|---|---|---|
| 0 | Success | 1025 | Data buffer too small |
| 590 | Invalid command pointer |