Appendix D - EMV Message Formats (EMV Only)
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 215 of 245 (
D998200115-17
)
Appendix D
EMV Message Formats (EMV Only)
D.1
ARQC Messages (EMV Only)
This section gives the format of the ARQC Message delivered in
Notification 0x0303 - ARQC Message
The contents of the ARQC Message is slightly different depending on whether the device is set to
(encrypting). Support for EMV transactions at
D.1.1
Security Level 2
When the device is set to
(not encrypting), the ARQC Message TLV data object
contains the following:
F9<len> /* container for MAC structure and generic data */
DFDF54(MAC KSN)<len><val>
DFDF55(MAC Encryption Type)<len><val>
DFDF25(IFD Serial Number)<len><val>
FA<len>/* container for generic data */
70<len> /*container for ARQC */
DFDF53<len><value> /*fallback indicator */
5F20<len><value> /*cardholder name */
5F30<len><value> /*service code */
DFDF4D<len><value> /* Masked T2 PICC/ICC Data */
DFDF52<len><value> /* card type */
<tags defined by DFDF02 >
(Buffer if any to be a multiple of 8 bytes)
CBC-MAC (4 bytes reserved, not calculated)
The device constructs the contents of tag DFDF4D, using EMV transaction data to emulate track 2 data as
though it came from an ISO/ABA magnetic stripe card. Much of the data is masked; the device sends a
specified mask character instead of the actual character from the transaction. The device provides
masking settings in
Property 0x07 - ISO Track Mask
, which allows the host software to specify
masking details for the Primary Account Number, the masking character to be used, and whether a
correction should be applied to make the Mod 10 (Luhn algorithm) digit at the end of the PAN be correct.
provides an example of track 2 data as it would appear if the device sent it in the clear.
shows the same data as it might appear with a specific set of masking rules applied.
Table 9-5 – Sample ISO/ABA Swiped Track Data, Clear Text / Decrypted
Sample ISO/ABA Swiped Track Data, Clear Text / Decrypted
Track 2
;6011000995500000=15121015432112345678?
Table 9-6 – Sample ISO/ABA Swiped Track Data, Masked
Sample ISO/ABA Swiped Track Data, Masked
Track 2
;6011000020000000=15120000000000000000?