Verify apdu (programmable security code) – MagTek IntelliStripe 320 99875168 User Manual
Page 107
![background image](/manuals/413742/107/background.png)
Appendix B. Memory Card Support
101
Verify APDU (Programmable Security Code)
Because of card functionality, this APDU should not be sent until at least one Read Binary
APDU has been sent first.
Command APDU:
CLA INS P1 P2 Lc Data
Field
00
20
00
00
Len
Data to be verified
CLA is always 00
INS is always 20
P1 is 00
P2 is 00
Lc is the number of bytes for verification:
If the value is 00, the status 63Cx will be returned where x indicates the number
of further retries allowed. This mode does not use up an attempt!
If the value is the one less than the value of Property A7, the PSC contained in the
Data Field will be presented for verification.
Response APDU:
SW1 SW2
Possible SW1/SW2 combinations:
SW1/SW2 Meaning
9000
Normal completion, no errors (PSC verified OK)
63Cx
Verification failed, x indicates number of further retries allowed
6A86
P1 and/or P2 not zero
6B00
Offset outside of the Memory (Lc is invalid)