![Magtek DYNAPRO Programmer'S Manual Download Page 37](http://html1.mh-extra.com/html/magtek/dynapro/dynapro_programmers-manual_3664700037.webp)
Appendix A – TLV Data Format
SDK - MagneFlex Powder, MIddleware,| PIN PEDs | Programmer’s Manual (MagneFlex API)
Page 37
Appendix A
TLV Data Format
A.1
ARQC Message Format
This section gives the format of the ARQC Message delivered in the ARQC Message notification. It is a
TLV object with the following contents:
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>/* Mask T2 ICC Data */
DFDF52<len><value>/* card type */
F8<len>/*container tag for encryption */
DFDF59(Encrypted Data Primitive)<len><Encrypted Data val (Decrypt
data to read tags)>
DFDF56(Encrypted Transaction Data KSN)<len><val>
DFDF57(Encrypted Transaction Data Encryption Type)<val>
DFDF58(# of bytes of padding in DFDF59)<len><val>
(Buffer if any to be a multiple of 8 bytes)
CBC-MAC (4 bytes, always set to zeroes)
A.2
ARQC Response (from online processing)
This section gives the format of the data for the Online Processing Result / Acquirer Response message.
This request is sent to the reader in response to an ARQC Message notification from the reader. It is a
TLV object with the following contents:
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 */
8A<len> approval
(ARQC padding, if any, to be a multiple of 8 bytes)
CBC-MAC (4 bytes, use MAC variant of MSR DUKPT key that was used in ARQC request, from
message length up to and including ARQC padding, if any)