3 - Command Set
DynaPro Mini| PIN Encryption Device | Programmer’s Manual (Commands)
Page 79 of 128 (
D99875629-43
)
3.6.4
Command 0xA4 - Acquirer Response ARPC (MAC-MSR)
If a chip card and the device decide to handle a transaction online, the device will send an ARQC request
to the host. The host should use this command to respond to the request, and to provide the response
from the acquirer/issuer.
The ARPC response should be staged using big block data, and should include one or more of the
following EMV data tags:
‘8A’ = response code
‘91’ = ARPC
‘71’ = Issuer Script Template 1
‘72’ = Issuer Script Template 2
The host should first send
Command 0x10 - Send Big Block Data to Device
Acquirer Response Data with the device serial number and signed with the current MSR MAC variant
key. The data would be similar to the example below. Note the host must use the same KSN that was
used in the 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<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 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
The device can be factory configured to disable CBC-MAC verification (see
). In this mode, the MAC structure is still required, but the 4-byte CBC-MAC field
can be filled with any values. Tag DFDF40 can be added to the ARQC request to indicate if CBC-MAC
is checked by the device; a value of 0x80 means it is checked, 0x00 means not checked.
After sending the data, the host should issue the following command:
Table 3-65 - Usage Table for Command 0xA4
Bit
7
6
5
4
3
2
1
0
Byte 0
0xA4
Byte 1..12 Reserved
3.6.5
Command 0xA8 - Get Kernel Info
This command directs the device to send the requested kernel information to the host.