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

Page 25

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 25 of 49

•

SpePINPos must be equal or larger than SpePINLenPos + SpePINSize

•

SpePINLen – SpePINPos 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

•

SpePinMin must be equal or larger than 1

12.3. Modification (Byte) bConfirmPIN Bit1=0

Modification bConfirmPIN Bit1 = 0
(No current/Old PIN entry requested)
System unit is byte.

Command Header

OffsetNew

Offset SpePINPos

SpePINLen

APDU

Command

Header

APDU

Lc

OffsetNew

Offset SpePINPos

PIN

CLA INS P1

P2

Lc

OffsetNew

Offset

SpePINLenPos SpePINSize

Not used

field

PIN

12.4. Modification (Byte) bConfirmPIN Bit1=0 Data Structure Error

Checking

Check points in implementing the PIN Modification Data Structure:

•

Lc must be equal to SpePINLen + SpePINPos + SpeOffsetNew

•

SpePINPos must be equal or larger than SpePINLenPos + SpePINSize

•

SpePINLen – SpePINPos 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

•

SpePinMin must be equal or larger than 1

12.5. Modification (Bit) bConfirmPIN Bit1=1

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

APDU Command SpeOffsetOld

SpePINLen

APDU

Header

APDU

Lc

Maybe not

Offset SpePINPos

Old PIN

CLA INS

P1 P2

Lc

Exist

Offset

SpePINLenPos SpePINSize

Not used

field

Old PIN

Advertising