User guide

ACR83 Reference Manual info@acs.com.hk
Version 1.05
www.acs.com.hk
Page 29 of 49
PIN (bits)
Original
1 0011 0000 0011 0000 0011 0000 0011 0000 0011 0000
0011 0000 0011 0000 1100 0000
Input New PIN 0 0010 0100 0110 1000 1010 1100 1111 0000 000
Result PIN
0 0010 0100 0110 1000 1010 1100 1111 0000 0001 0000
0011 0000 0011 0000 1100 0000
Result APDU in bit
format
0110 0110 0010 0100 0110 1000 1010 1100 1111 0000 0001
0000 0011 0000 0011 0000 0011 0000
Result APDU in byte
format
66 24 68 ac f0 10 30 30 30
The whole APDU in byte format will be:
00 24 00 01 0A 20 66 24 68 ac f0 10 30 30 30h
If arrangement is Right:
bmFormatString change to=3Dh
00 24 00 01 0A 20 67 30 30 30 31 23 45 67 80h
If SpeOffsetNew = 00h and abPINApdu = 00 24 00 01 09 57 30 30 30 30 30 30 30 30h
bmFormatString change to=39h
The result formatting APDU = 00 24 00 01 09 66 24 68 AC F0 10 30 30 30h
12.10. Modification Example 2
It is the same as example 1, only bConfirmPIN is changed to 01h.
abPINApdu = 00 24 00 01 0A 20 57 30 30 30 30 30 30 30 30h
bConfirmPIN = 01h (If bConfirmPIN=01h, bNumberMessage must equal to 02h)
Enter the New PIN and confirm the New PIN.
bmFormatString=39h
SpePinPos=7 bits because bmFormatString bit 7 = 0
SpeLeftRight=Left
SpePINTyp=BCD
bmPINBlockString=49h
SpePINSize=4 bits
SpePINLen=9 bytes
bmPINLengthFormat=02h
SpePINLenPos=2 bits