ACS ACR1283L User Manual

Page 22

Advertising
background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 22 of 55


Load Authentication Keys APDU Format (10 Bytes)

Command

Class

INS

P1

P2

Lc

Data In

Authentication

FFh

86h

00h

00h

05h

Authenticate

Data Bytes


Authenticate Data Bytes (5 Byte)

Byte1

Byte 2

Byte 3

Byte 4

Byte 5

Version

0x01h

0x00h

Block Number

Key Type

Key Number

Where:

Block Number (1 Byte): The memory block to be authenticated.

For Mifare 1K card, it has totally 16 sectors and each sector consists of 4 consecutive blocks. For

example, Sector 0x00h consists of Blocks {0x00h, 0x01h, 0x02h and 0x03h}; Sector 0x01h

consists of Blocks {0x04h, 0x05h, 0x06h and 0x07h}; the last sector 0x0Fh consists of Blocks

{0x3Ch, 0x3Dh, 0x3Eh and 0x3Fh}. Once the authentication is done successfully, there is no

need to do the authentication again provided that the blocks to be accessed are belonging to the

same sector. Please refer to the Mifare 1K/4K specification for more details.

Note: Once the block is authenticated successfully, all the blocks belonging to the same sector

are accessible.

Key Type (1 Byte):

0x60h = Key is used as a TYPE A key for authentication
0x61h = Key is used as a TYPE B key for authentication

Key Number (1 Byte):
0x00h ~ 0x1Fh =

Non-volatile memory for storing keys. The keys are permanently stored in

the reader and will not be disappeared even the reader is disconnected

from the PC. It can store 32 keys into the reader non-volatile memory.

0x20h (Session Key) = Volatile memory for storing keys. The keys will be disappeared when 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.


Load Authentication Keys Response Format (2 Bytes)

Response

Data Out

Result

SW1

SW2


Load Authentication Keys Response Codes

Results

SW1 SW2

Meaning

Success

90 00h

The operation is completed successfully.

Error

63 00h

The operation is failed.

Advertising