User guide

ACR83 Reference Manual info@acs.com.hk
Version 1.05
www.acs.com.hk
Page 18 of 49
Point 2: SpePINPos (7 bits) >= SpePinLenPos (2 bits) + SpePINSize (4 bits)
Point 3: SpePINLen (9h) SpePinPos (7 bits)[act as 1 byte] >=[SpePinMax (0Ah) * 4bits
(BCD)] = 5 bytes
: 8 bytes >=5 bytes
Point 4: SpePinMax (0Ah) > SpePinMin (01h)
Point 5: SpePinMax (0Ah)< =10h
Point 6: SpePinMin (01h) >= 01h
Command Header
SpePINLen
APDU Command
Header
APDU
Length
Offset SpePINPos 7 bits PIN
00 20 00 01 09 Offset 2bits
SpePINSize (4
bits)
Not used field/may not
exist
PIN
00 20 00 01 09 01 Input 9 digits Offset 6 bit relative to Lc PIN
00 20 00 01 09 01=0101011 1001 (bits) 1 (bit)=0101011 PIN
00 20 00 01 09 0110011 (1001 replace original 0101011) PIN
How about the PIN management?
Because it is Left and BCD arrangement.
PIN (bits)
Original
1 0011 0000 0011 0000 0011 0000 0011 0000 0011 0000
0011 0000 0011 0000 1100 0000
Input 12 34 56 78 0
(change to bit format)
0001 0010 0011 0100 0101 0110 0111 1000 0000
Original
1 0011 0000 0011 0000 0011 0000 0011 0000 0011 0000
0011 0000 0011 0000 1100 0000
Input 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 20 00 01 09 66 24 68 AC F0 10 30 30 30h
If arrangement is Right:
bmFormatString change to=3Dh
00 20 00 01 09 67 30 30 30 31 23 45 67 80h