EasyManua.ls Logo

Magtek eDynamo - Extended Command 0 X0309 - Modify Acquirer Public Key CAPK (MAC, EMV Offline Only)

Magtek eDynamo
245 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 - Commands
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 116 of 245 (D998200115-17)
8.5.5 Extended Command 0x0309 - Modify Acquirer Public Key CAPK (MAC, EMV Offline
Only)
Like all extended commands, the host initiates this command by calling Command 0x49 - Send
Extended Command Packet (Extended Commands Only), and receives a response as documented
there.
This command is used to modify CA Public Keys. See Extended Command 0x030A - Read Acquirer
Public Key CAPK (EMV Offline Only) for details about storage of keys.
Configuration changes will be lost after a power cycle or reset unless the host sends Extended
Command 0x030E - Commit Configuration after making all configuration changes.
Table 8-47 - Request Data for Extended Command 0x0309 - Modify Acquirer Public Key CAPK (MAC,
EMV Offline Only)
Offset
Field Name
Value
0
Type of MAC
MAC algorithm designator
0x00 = MSV5 MSCI CBC-MAC
1
Slot Number
CA Public Key Slot Number = Any value from 0x01 to 0x33 inclusive
0xFF = Next Available (slot with RID TLV length set to zero)
If the Operation field is set to Erase All, this field is not used and can be set to
any value.
2
Operation
0x00 = Erase All (Erases all tags in all CAPK slots). This sets the TLV length
of every TLV data object in each slot to 1 and the value to 0. A slot is
considered erased and available for use by the Next Available Slot Number
(0xFF) if its RID TLV length is set to 1 and its value is set to 0.
0x01 = Writes a CA Public Key. To erase a single slot, write all of the slot’s
tags’ TLV lengths to 1 and values to 0.
3
Database
Selector
(Contact Only)
0x00 = EMV Contact L2
4..19
Device Serial
Number
(DSN)
16 Bytes DSN
20..n
Objects to
Write
Note: Not needed if Operation is 0x00 Erase All.
FA<len> /* container for generic data */
< DFDF79><len><value> /* RID */
< DFDF7A><len><value>/* Index */
< DFDF7B><len><value>/* Modulus */
< DFDF7C><len><value>/* Key Exponent */
< DFDF7D><len><value> /* Checksum */
n..n+3
MAC
MAC computed on Device Serial Number (DSN) and Objects to Write fields.

Table of Contents