2 sred batch data, Sred batch data, 3 - command set – MagTek DynaPro Mini Programmer's99875629 User Manual
Page 28
![background image](/manuals/413695/28/background.png)
3 - Command Set
DynaPro Mini| PIN Encryption Device | Programmer’s Reference (Commands)
Page 28
CBC-MAC (4 bytes, use MAC variant of MSR DUKPT key)
3.3.3.2 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, use F8 within FA for passing encrypted batch data message, use MAC variant of MSR DUKPT
key.
AAAA /* 2-byte MSB message length excluding padding and CBC-MAC */
F9
DFDF54(MAC KSN)
DFDF55(MAC Encryption Type)
DFDF25(IFD Serial Number)
FA
F0
F1
… /* Status Data tags */
F8
DFDF59(Encrypted Data Primative) Data val (Decrypt data to read tags)> DFDF56(Encrypted Transaction Data KSN) DFDF57(Encrypted Transaction Data Encryption Type) DFDF58(# of bytes of padding in DFDF59) F7 … /* < Merhcant Data tags */ (Buffer if any to be a multiple of 8 bytes) FC F2 … /* Batch Data tags */ F3 … /* Reversal Data tags */
CBC-MAC (4 bytes, use MAC variant of MSR DUKPT key)
The Value inside tag DFDF59 is encrypted and contains the following after decryption:
Notes:
1 - ARQC request encrypted message: 70
2 - Batch data includes batch and merchant data and for declined transactions, reversal data as well.