Picc Commands (T=Cl Emulation) For Mifare 1K/4K Memory Cards; Load Authentication Keys - ACS ACR128 User Manual

Dual interface card reader
Table of Contents

Advertisement

7.0 PICC Commands (T=CL Emulation) for MiFare 1K/4K MEMORY Cards

7.1 Load Authentication Keys

The "Load Authentication Keys command" will load the authentication keys into the reader. The
authentication keys are used to authenticate the particular sector of the Mifare 1K/4K Memory Card.
Two kinds of locations for authentication keys are provided, volatile and non-volatile.
Table 22-a: Load Authentication Keys APDU Format (11 Bytes)
Command
Load Authentication
Key Structure (1 Byte):
Key Number (1 Byte):
Key (6 Bytes):
Table 22-b: Load Authentication Keys Response Format (2 Bytes)
Response
Result
Table 22-c: Load Authentication Keys Response Codes
Results
Success
Error
ACR128 API
Version 1.7
May 2008
ACR128 Dual Interface Smart Card Reader
Class
INS
FF
82
Keys
0x00
= Key is loaded into the reader's volatile memory.
0x20
= Key is loaded into the reader's non-volatile memory.
Other
= Reserved.
0x00 ~ 0x1F
= Non-volatile memory for storing keys. The keys are permanently
stored in the reader and will not be erased even when the reader is
disconnected from the PC. It can store up to 32 keys.
0x20 (Session Key)
= Volatile memory for storing a temporary key. The key will be erased
once the reader is disconnected from the PC. Only 1 volatile key is
provided. The volatile key can be used as a session key for different
sessions. Default Value = {FF FF FF FF FF FF}
The key value loaded into the reader. E.g. {FF FF FF FF FF FF}
Data Out
SW1
SW2
SW1
SW2
Meaning
90
00
The operation is completed successfully.
63
00
The operation failed.
P1
P2
Key Structure
Key Number
Lc
Data In
Key
06
(6 bytes)
Page 26 of 36

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents