APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 31 of 48
www.acs.com
.hk
SW1 SW2
Meaning
64 01h
PIN entry is cancelled
For current ACS smartcards, the number of PIN entry is set to 3. If wrong PIN is entered by the third
attempt, the card is blocked.
Note: No text is displayed for both correct and wrong PIN entry for APG8201-B2 Generic Reader.
8.5. SECURE PIN MODIFY
The SECURE PIN MODIFY command can be called in two ways:
1. For the explicit Secure Pin Modify, host should send two commands separately, one is
SECURE PIN ENTRY and another one is SECURE PIN MODIFY, for example:
Secure PIN Entry (Host->Reader): 69 1C 00 00 00 00 F3 00 00 00 00 00 89 47 04 0C 04 07
01 09 04 00 00 00 00 00 20 00 02 08 2C FF FF FF FF FF FF FFh
LCD display: " Enter auth. Pin:"
User enter 12 digits long PUK: e.g. 3 3 3 3 3 3 1 1 1 1 1 1
LCD display: "Card inserted"
Secure PIN Entry (Reader->Host): 80 02 00 00 00 00 F3 00 00 00 90 00h
Secure PIN Modify (Host->Reader): 69 1F 00 00 00 00 F4 00 00 00 01 00 89 47 04 00 00 0C
04 00 03 01 09 04 01 00 00 00 00 24 01 01 08 24 FF FF FF FF FF FF FFh
LCD display: "NEW PIN: (key)"
User enter 4 digits long new PIN: e.g. 1 2 3 4, and then press "OK"
LCD display: "CONFIRM PIN: (key)"
User enter 4 digits long new PIN again: e.g. 1 2 3 4, and then press "OK"
LCD display: "Card inserted""
Secure PIN Modify (Reader->Host): 80 02 00 00 00 00 F4 00 00 00 90 00h
2. For the implicit SECURE PIN MODIFY, host should send one command to do both the
verification and modification, for example:
Secure PIN Modify (Host->Reader): 69 29 00 00 00 00 CF 00 00 00 01 00 89 47 04 00 08 0C
04 03 03 03 09 04 00 01 02 00 00 00 00 24 00 01 10 24 FF FF FF FF FF FF FF 24 FF FF FF
FF FF FF FFh
LCD display: "Enter auth. Pin:"
User enter 4 digits long correct PIN: e.g. 1 2 3 4, and then press "OK"
LCD display: "NEW PIN:
(key)"
User enter 4 digits long new PIN: e.g. 4 3 2 1, and then press "OK"
LCD display: "CONFIRM PIN: (key)"
User enter 4 digits long new PIN again: e.g. 4 3 2 1, and then press "OK"
LCD display: "Card inserted"
Secure PIN Modify (Reader->Host): 80 02 00 00 00 00 CF 00 00 00 90 00h
If the old pin is wrong during an implicit command, the response from the card should be
“63
Cxh,
” where x is the number of remaining attempts until the pin is blocked, then we get an
error code
“69 83h.”