Document Version 1.00
Last revised on
Page 35 of 87
2020-04-10
Reference Manual for uTrust 3720F and uTrust 3721F Readers
6.2.3.
PAPDU_MIFARE_LOAD_KEYS
This command is used to load the key to the volatile memory of the reader. It can be used for all kinds
of contactless cards. Refer to section 3.2.2.1.4 of [PCSC3] for further details.
Command APDU:
Command
CLA
INS
P1
P2
Lc
Data
Le
Load Keys
0xFF
0x82
0x00
Key Num Key data
Key
-
Response APDU:
Data
Status Word
-
SW1, SW2
Examples
Load Keys
The command to load Mifare key A
“
FF FFFFFFFFFF
” is
FF82006006 FFFFFFFFFFFF
6.2.4.
PAPDU_MIFARE_AUTHENTICATE
This command is used to authenticate using the key number. Refer to section 3.2.2.1.6 of [PCSC3] for
further details.
Command APDU:
Command
CLA
INS
P1
P2
Lc
Data
Le
General Authenticate
0xFF
0x86
0x00
0x00
0x05
data xx
The data structure is defined as follows:
Byte #
Value
Description
B0
0x01
Version
B1
Block Number MSB (always 0x00 for Mifare Classic cards)
B2
Block Number LSB
B3
0x60
Mifare Classic Key A
0x61
Mifare Classic Key B
0x00
Use key from non-volatile storage
B4
0x01
when B3=0x60 or B3=0x61
Key number of key from non-volatile storage when B3=0
For authentication with MIFARE ULC using a key loaded into non-volatile storage use all 0x00 for
data.