0xEF01 - Load Key Using TR-31
The host uses this command to load a key into one of several available slots in the device’s secure memory.
Device Key ID / Slot
1000
TMPTK
Temporary KBPK
agree
1001
MTK
Master Transport
TMPTK
1002
DEVTK
Device Master
MTK
1003
FINTK
Financial Master
MTK
1021
PRODTK
Production - MagTek Internal Only
DEVTK
1022
MFGTK
MagTek Only Internal/External
DEVTK
1081
MKIFTK
MagTek KIF Financial Keys
FINTK
1101
FREQMK
Factory Request MAC
PRODTK
1102
MREQMK
Mfg Device Request MAC
MFGTK
1111
MFRQMK
Mfg Financial Request MAC
MKIFTK
20xx
DKPTM0-1F
MagTek DUKPT Initial Key
MKIFTK
To inject a specific key in the above table, the corresponding Load TK shall be injected previously.
As shown in the table, MTK injection requires that a TMPTK has been created. See Establish Ephemeral KBPK - Command 0xF017.
After MTK has been injected successfully, the sequence of injecting other keys is as follows:
Load Key Using TR-31 - Request Data for Command 0xEF01
Beginning of any wrappers, at minimum including Request Message
EF01 = Load Key Using TR-31 - Command 0xEF01
84
var
Key Block — This is a populated, secured MIFARE Card Data Type (EMV Contactless Only) Table XX – MIFARE Card Data Type
B
R
DFDFDF40
var
MIFARE Card Data in ASCII terminated with NULL character
DFDFDF41
var
MIFARE Card Data in Binary (optional)
O
TR-31 Key Block Type.
End of any wrappers, at minimum including Request Message
Load Key Using TR-31 - Response Data for Command 0xEF01
Beginning of any wrappers, at minimum including Response Message
EF01 = Load Key Using TR-31 - Command 0xEF01
No parameters.
End of any wrappers, at minimum including Response Message
Request Example - Command 0xEF01
Response Example - Command 0xEF01
Last updated

