Modification (byte) bconfirmpin bit1=1 – ACS ACR83 PINeasy Smart Card Reader User Manual

Page 26

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 26 of 49

12.6. Modification (Bit) bConfirmPIN Bit1=1 Data Structure Error

Checking

Check points in implementing the PIN Modification Data Structure:

SpePINLen + SpeOffsetNew must equal to Lc

SpeOffsetNew >= SpeOffsetOld + SpePINLen

SpePINPos must be equal or larger than SpePINLenPos + SpePINSize

SpePINLenSpePINPos must be larger or equal to SpePinMax (if BCD, need multiple 4)

SpePinMax must be equal or larger than SpePinMin

SpePinMax cannot be larger than 16 digits because LCD one row only have 16 digits

PinMin must be equal or larger than 1

12.7. Modification (Byte) bConfirmPIN Bit1=1

bConfirmPIN Bit1 = 1
(Current/Old PIN entry requested)
System unit is byte.

APDU Command

SpeOffsetOld

Offset SpePINPos

SpePINLe

n

APDU Header APDU

Lc

Maybe not

Offset SpePINPos

Old PIN

CLA INS P1 P2

Lc

Exist

Offset

SpePINLenPos SpePINSize

Not used

field

Old PIN

SpeOffsetNew

Offset SpePINPos

SpePINLen

Maybe not

Offset SpePINPos

New PIN

Exists

Offset

SpePINLenPos

SpePINSize

Not used field

New PIN

12.8. Modification (Byte) bConfirmPIN Bit1=1 Data Structure Error

Checking

Check points in implementing the PIN Modification Data Structure:

SpePINLen + SpeOffsetNew + SpePINPos must equal to Lc

SpeOffsetNew >= SpeOffsetOld + SpePINPos + SpePINLen

SpePINPos must be equal or larger than SpePINLenPos + SpePINSize

SpeOffsetNew

SpePINLen

Maybe not

Offset SpePINPos

New PIN

Exist

Offset

SpePINLenPos

SpePINSize

Not used field

New PIN

Advertising