ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 51 of 96
5.1.9.7.
Verify Security Code
This command submits Security Code (2 bytes) to the inserted card. Security Code is to enable the
memory access of the card.
The following actions are executed:
1. Present the specified code to the card
2. Search a '1' bit in the presentation error counter and write the bit to '0'
3. Erase the presentation error counter. The Security Code Attempts Counter can be erased
when the submitted code is correct.
Command
Pseudo-APDU
Command Class INS
Error Counter LEN
Byte
Address
MEM_L
CODE
Byte 1
Byte 2
Verify
Security
Code
FFh
20h
08h
0Ah
02h
Where:
Error Counter LEN
(1 byte)
=
Length of presentation error counter in bits.
Byte Address
(1 byte)
= Byte address of the key in the card
.
CODE
(2 bytes)
= Security Code
Response
Response
Data Out
Result
SW1
SW2
Where:
SW1 SW2
= 90 00h if the operation is completed successfully.
=
63 00 if there is no more retry chance.
Note: After SW1SW2 = 90 00h been received, read back the Security Code Attempts Counter
(SCAC) can check whether the Verify User Code is correct. If SCAC is erased and equals to “FFh”,
the previous verification is success.