ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 24 of 96
5.1.4.4.
Verify password
This command verifies if the memory card’s password matches the user’s entered PIN.
Command
Pseudo-APDU
Command
Class
INS
P1
P2
Lc
RP
PW (0)
PW (1)
PW (2)
Verify
Password
FFh
20h
00h
00h
04h
Where:
PW (0), PW (1), PW (2)
= Password to be sent to memory card.
RP
(1 byte)
=
0000 r p2 p1 p0b
Where the two bits “r p2 p1 p0” indicate the password to compare
r = 0 : Write password,
r = 1: Read password,
p2 p1 p0 = Password set number
r p2 p1 p0 = 0111b for the secure code.
Response
Response
Data Out
Result
SW1
ErrorCnt
Where:
SW1
= 90h
ErrorCnt
(1 byte)
= Error Counter
FFh indicates the verification is correct. 00h indicates the password is locked
(exceed maximum number of retries). Other values indicate the current
verification is failed.
5.1.4.5.
Initialize authentication
This command initializes the memory card’s authentication.
Command
Pseudo-APDU
Command
Class
INS
P1
P2
Lc
Q (0)
Q (1)
…
Q (7)
Initialize
Authentication
FFh
84h
00h
00h
08h
Where:
Q (0…7)
(8 bytes)
=
Host random number