beautypg.com

3 arqc response (report 0xa4 – acquirer response), 3 batch data, 1 non-sred batch data – MagTek DynaPro Mini Programmer's99875629 User Manual

Page 27: Arqc response (report 0xa4 – acquirer response), Batch data, Non-sred batch data, 3 - command set

background image

3 - Command Set

DynaPro Mini| PIN Encryption Device | Programmer’s Reference (Commands)


Page 27

DFDF3D

DFDF43

Data>

DFDF50(MSR KSN Data) /*sent

in the clear*/

DFDF51(MSR EncryptionType)

F5/* container tag for encrypted PIN

data */

99(Encrypted PIN DATA)

DFDF41(PIN KSN Data)

DFDF42(PIN EncryptionType)

3.3.2.3 ARQC Response (Report 0xA4 – Acquirer Response)

Response from host (key used must be the same as KSN in ARQC request). Use container F9 for the
MAC structure, use F8 within FA for passing the encrypted ARQC message, use MAC variant of MSR
DUKPT key. This example assumes an acquirer host response of 70 04 8A 02 30 30:
AAAA /* 2-byte MSB message length excluding padding and CBC-MAC */
F9 /* container for MAC structure and generic data */

DFDF54 (MAC KSN)

DFDF55 (Mac Encryption Type>

DFDF25 (IFD Serial Number)

FA /* Container for generic data */

70 04 8A 02 30 30

(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)

3.3.3 Batch Data

3.3.3.1 Non-SRED Batch Data

Begin with a two-byte header in big-endian form (MSB first) that contains the expected length of the
message after decryption, excluding data padding and CBC-MAC. Use container F9 for the MAC
structure, FA for passing non-encrypted batch data message, use MAC variant of MSR DUKPT key.
AAAA /* 2-byte MSB message length excluding padding and CBC-MAC */
F9 /* container for MAC structure and generic data */

DFDF54(MAC KSN)

DFDF55(MAC Encryption Type)

DFDF25(IFD Serial Number)

FA/* container for generic data */

F0 /* Transaction Results */

F1 /* container for Status Data */

… /* Status Data tags */

F2/* container for Batch Data */

… /* Batch Data tags */

F3/* container for Reversal Data, if any */

… /* Reversal Data tags */

F7/* container for Merchant Data */

… /* < Merchant Data tags */

(Buffer if any to be a multiple of 8 bytes)