ACS ACR83 PINeasy Smart Card Reader User Manual

Page 35

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 35 of 49

Show “Enter PIN:” means enter the old/current PIN and
Show “Enter New PIN”

Point 1: Lc (12h) equal to SpeOffsetNew (0Ah) + SpePINLen (8)

Point 2: SpeOffsetNew (0Ah) >= SpeOffsetOld (1) + SpePINLen (8)

Point 3: SpePINPos (8 bits) >= SpePinLenPos (4 bits) + SpePINSize (4 bits)

Point 4: SpePINLen (8) – SpePinPos (4 bits) >=[SpePinMax (0Ah) * 4bits(BCD)] = 5 bytes

: 7.5 bytes >=5 bytes

Point 5: SpePinMax (0Ah) > SpePinMin (01h)

Point 6: SpePinMax (0Ah) < =10h

Point 7: SpePinMin (01h) > = 01h

Command Header

OffsetOld

SpePINLen

APDU

Header

APDU

Lc

OffsetOld

Offset SpePINPos 8 bits = 1byte

Old

PIN

00 24 00 01

12

Offset

Offset (4 bits)

SpePINSize (4 bits)

Not

used

field

Old

PIN

00 24 00 01

12

1 byte

02

Input 6 digits

-

Old

PIN

00 24 00 01

12

08

0000

=

0000

0010

0110

(bits)

-

Old

PIN

00 24 00 01

12

08

0000

0110

(

0110

replace original

0000

0010

)

-

Old

PIN


First, handle the old PIN.

Old PIN (Byte)

Original

00 24 00 01 12 08 02

30 30 30 30 30 30 30

09 03 30 30 30 30

30 30 30

Input

12 34 56

Result PIN

00 24 00 01 12 08 0

6

12 34 56

30 30 30 30 09 03 30 30 30 30

30 30 30

OffsetNew

SpePINLen

OffsetNew

Offset SpePINPos 8 bits = 1byte

New PIN

Offset

Offset (4 bits)

SpePINSize (4 bits)

Not used

field

New PIN

0A bytes

03

Input 10 digits

-

New PIN

relative to Lc

00

=

0000

0011

1010

(bits)

-

New PIN

09

0000

1010

(

1010

replace original 0000

0011

)

-

New PIN

Advertising