Document Title Here
Document Title Here
Document Title Here
ACR33U-A1 SmartDuo Reference Manual
Version 1.00
Page 54 of 56
www.acs.com.hk
8.2.13.7. VERIFY_SECURITY_CODE
To submit Security Code (2 bytes) to the inserted card. Security Code is to enable the memory
access of the card.
The following actions are executed:
- Present the specified code to the card
- Search a '1' bit in the presentation error counter and write the bit to '0'
- Erase the presentation error counter. The Security Code Attempts Counter can be erased
when the submitted code is correct.
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA
INS
Error
Counter
LEN
Byte
Addre
ss
MEM_
L
CODE
Byt
e 1
Byte
2
FF
H
20
H
08
H
0A
H
02
H
Error Counter LEN
Length of presentation error counter in bits.
Byte Address
Byte address of the key in the card.
CODE
2 bytes Security Code
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1
SW2
SW1, SW2
=
90
H
00
H
if no error.
=
63
H
00
H
if there is no more retry chance
Note:
After SW1SW2 =
0x9000
has 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 “
0xFF
”, the previous verification is success.