Function Prototype
aat_int32 AAL2ProcProcMessageInformationRpl(
aat_byte *InReply,
aat_int32 ReplySize,
aat_ascii *InformationBody,
aat_int32 *InformationBodyLength);Description
This function processes a reply from the HSM to an information message processing command which has been generated with AAL2GenProcMessageInformationCmd.
The information message processing on the HSM is identical to the functionality available with the Authentication Suite Server SDK Authentication Suite Server SDK Software Digipass Secure Channel Service. For information on the associated functions, refer to the Authentication Suite Server SDK C-C++ Programmer's Guide.
This function serializes an important amount of data. The InReply buffer must be allocated with a sufficient size. For more information about the allocation of the Cmd and InReply buffers, refer to Cmd and InReply buffers allocation.
Parameters
Return codes
| Code | Meaning | Code | Meaning |
|---|---|---|---|
| 0 | Success | 1349 | Invalid response body pointer |
| 701 | Invalid input buffer pointer | 1350 | Invalid response body length pointer |
| 910 | Invalid HSM command in reply | 1351 | Response body buffer too small |
| 913 | Invalid HSM key property | 1352 | Nonces are not equal |
| 917 | Key type inconsistent | 1353 | Payload key BLOB is mandatory |
| 951 | Invalid HSM key type for HSM decryption | 1354 | Invalid request message type |
| 1000 | Function does not support EMV-CAP | 1355 | Invalid response message type |
| 1009 | Invalid TLV total length | 1361 | Invalid authentication tag |
| 1018 | Invalid TLV item pointer | 1362 | Invalid response message error length |
| 1019 | Missing mandatory TLV item | 5001[1] | Unsupported request message protocol version |
| 1025 | Buffer too small | 5002[1] | Unsupported request message type |
| 1267 | Invalid message vector length | 5003[1] | Unsupported request message protection type |
| 1268 | Invalid message vector version | 5004[1] | Invalid request message length |
| 1342 | Invalid response message length | 5005[1] | Invalid request message; character not hexadecimal |
| 1344 | Invalid request message length | 5006[1] | Incorrect serial number in the request message |
| 1345 | Invalid request message protection type | 5007[1] | Invalid authentication tag in the request message |
| 1346 | Invalid message response protection type | -1501 | Memory allocation failed |