This function processes a reply from the HSM to a command generated with either AAL2GenVerifySignatureEsCmd.
The signature validation with enhanced security on the HSM is identical to the functionality available with the Authentication Suite Server SDK Software e-Signature Validation Service. For information on the associated functions, refer to the Authentication Suite Server SDK C-C++ Programmer's Guide.
Parameters
Table: Parameters (AAL2ProcVerifySignatureRpl)
Type
Name
Use
Description
aat_byte *
InReply
I
Up to 251 bytes that contain the VERIFY SIGNATURE command type and the output data from the verify signature function on the HSM:
Command type - 2 bytes
An authenticator application BLOB - 192 bytes
Return code - 4 bytes
Confirmation code length - 4 bytes
Confirmation code - up to 17 characters
Plus 32 bytes for Authentication Suite Server SDK internal use.
aat_int32
ReplySize
I
The length of the InReply message.
TDigipassBlob *
DPData
O
Digipass description data block. Upon return from the function call, this data block must be rewritten to the application database to reflect the changes.
aat_ascii *
ReturnHostCode
O
String of up to 17 numeric or hexadecimal characters, left-justified, null-terminated, or right-padded with spaces. This is the confirmation code generated by Authentication Suite Server SDK. Leave NULL if not required.
aat_int32 *
ReturnHostCodeLen
I/O
Pointer to a long integer that in input contains the size of the ReturnHostCodeOut buffer, and in output contains the real length of the generated return host code. Leave NULL if not required.