Document Version 1.00
Last revised on
Page 80 of 87
2020-04-10
Reference Manual for uTrust 3720F and uTrust 3721F Readers
6.4.2.4.
Load MIFARE Plus Authentication Keys into Reader
The following command can be used to load MIFARE Plus AES authentication keys into the reader.
Command APDU:
CLA
NS
P1
P2
Lc
Data
Le
0xFF
0x00 0x00 0x00 0x15 0x07
0x03
MIFARE Plus key data
(as shown below)
-
MIFARE Plus key data
PCD Key Number
(1 byte – see below)
PICC Key Block
(LSB)
Refer NXP-163735
PICC Key Block
(MSB)
Refer NXP-163735
AES Key
(16 bytes)
PCD Key Number determines the location where the key is being stored in non-volatile memory of
reader.
PCD Key Number
Key Description
0x00 – 0x0D
SL3 AES Sector Keys
0x00 – 0x09
Special Keys (Refer to NXP-163735 for details)
PICC Key Block number shall be used to identify the type of key being loaded.
Up to 14 AES sector keys and all special keys can be store in non-volatile memory of reader using this
command. Care should be taken to load keys at different locations by changing PCD Key Number;
otherwise, keys shall be overwritten and only the last loaded key shall be available. AES sector keys
and special keys do not share the same memory space.
Reader Load Keys shall fail if any of the command parameters is invalid.
Response:
Data
Status Word
-
SW1
SW2
Examples:
1.
Load SL3 AES Sector Key = “11 22 33 44 55 66 77 88 12 34 56 78 12 34 56 78” for Sector 01,
Key A, PCD Key Number 01
APDU: FF 00 00 00 15 07 03 01 02 40 11 22 33 44 55 66 77 88 12 34 56 78 12 34 56 78
RESPONSE: 90 00