/AWS1/CL_PCD=>VERIFYMAC()
¶
About VerifyMac¶
Verifies a Message Authentication Code (MAC).
You can use this operation to verify MAC for message data authentication such as . In this operation, you must use the same message data, secret encryption key and MAC algorithm that was used to generate MAC. You can use this operation to verify a DUPKT, CMAC, HMAC or EMV MAC by setting generation attributes and algorithm to the associated values.
For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_KEYIDENTIFIER
TYPE /AWS1/PCDKEYARNORKEYALIASTYPE
/AWS1/PCDKEYARNORKEYALIASTYPE
¶
The
keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.
IV_MESSAGEDATA
TYPE /AWS1/PCDMESSAGEDATATYPE
/AWS1/PCDMESSAGEDATATYPE
¶
The data on for which MAC is under verification. This value must be hexBinary.
IV_MAC
TYPE /AWS1/PCDMACTYPE
/AWS1/PCDMACTYPE
¶
The MAC being verified.
IO_VERIFICATIONATTRIBUTES
TYPE REF TO /AWS1/CL_PCDMACATTRIBUTES
/AWS1/CL_PCDMACATTRIBUTES
¶
The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
Optional arguments:¶
IV_MACLENGTH
TYPE /AWS1/PCDINTEGERRANGEBETWEEN01
/AWS1/PCDINTEGERRANGEBETWEEN01
¶
The length of the MAC.