Authentication, Table 11, Table 12 – ACS AET62 NFC Reader with Fingerprint Sensor User Manual

Page 12: Load authentication keys apdu format (10 bytes), Table 13, Authenticate data bytes (5 byte), Table 14, Load authentication keys response format (2 bytes), Table 15, Load authentication keys response codes

Advertising
background image

6.2. Authentication

The “Authentication command” uses the keys stored in the reader to execute authentication with the
Mifare 1K/4K card (PICC). Two types of authentication keys are used: TYPE_A and TYPE_B.

Command

Class INS

P1

P2

P3

Data In

Authentication FF 88

00

Block

Number

Key

Type

Key Number

Table 11: Load Authentication Keys APDU Format (6 Bytes) [Obsolete]

Command

Class INS

P1

P2

Lc

Data In

Authentication

FF

86 00

00

05

Authenticate Data Bytes

Table 12: Load Authentication Keys APDU Format (10 Bytes)

Byte1

Byte 2

Byte 3

Byte 4

Byte 5

Version

0x01

0x00

Block

Number

Key Type

Key Number

Table 13: Authenticate Data Bytes (5 Byte)

Block Number: 1 Byte. This is the memory block to be authenticated.
Key Type: 1 Byte

0x60

= Key is used as a TYPE A key for authentication.

0x61

= Key is used as a TYPE B key for authentication.

Key Number: 1 Byte

0x00

~ 0x1F

= Key Location.

Note: For Mifare 1K Card, there are 16 sectors and each sector consists of 4 consecutive

blocks. E.g. Sector 0x00 consists of Blocks {0x00, 0x01, 0x02 and 0x03}; Sector 0x01 consists
of Blocks {0x04, 0x05, 0x06 and 0x07}; the last sector 0x0F consists of Blocks {0x3C, 0x3D,
0x3E

and 0x3F}.

Once the authentication is executed successfully, there is no need to execute 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.

Response

Data Out

Result SW1

SW2

Table 14: 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 15: Load Authentication Keys Response Codes

Document Title Here

Document Title Here

Document Title Here

AET62 Reference Manual

Version 1.00

Page 12 of 35

[email protected]

www.acs.com.hk

Advertising