Load authentication keys, Table 8, Load authentication keys apdu format (11 bytes) – ACS AET62 NFC Reader with Fingerprint Sensor User Manual

Page 11: Table 9, Load authentication keys response format (2 bytes), Table 10, Load authentication keys response codes

Advertising
background image

6.0. PICC Commands (T=CL Emulation) for Mifare Classic

Memory Cards

6.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 authentication key locations are provided, volatile and non-volatile key locations
respectively.

Command

Class INS

P1

P2

Lc

Data In

Load

Authentication

Keys

FF 82

Key

Structure

Key

Number

06

Key

(6

bytes)

Table 8: Load Authentication Keys APDU Format (11 Bytes)


Key Structure (1 Byte):

0x00

= Key is loaded into the reader volatile memory.

Other =

Reserved.

Key Number (1 Byte):

0x00 ~ 0x01 = Key Location. The keys will disappear once the reader is disconnected from the

PC.

Key (6 Bytes):

The key value loaded into the reader. E.g. {FF FF FF FF FF FF}

Response

Data Out

Result SW1

SW2

Table 9: Load Authentication Keys Response Format (2 Bytes)

Results

SW1 SW2

Meaning

Success 90

00

The operation is completed successfully.

Error 63 00

The operation is failed.

Table 10: Load Authentication Keys Response Codes


Example:
Load a key {

FF FF FF FF FF FF

} into the key location 0x00.

APDU = {FF 82 00 00 06

FF FF FF FF FF FF

}

Document Title Here

Document Title Here

Document Title Here

AET62 Reference Manual

Version 1.00

Page 11 of 35

[email protected]

www.acs.com.hk

Advertising