I'm trying to send a VERIFY (pin) command using javax.smartcardio
API. My Pin code is 12345678.
Based on some examples I've found on the net, I've tried with this APDU:
00 20 00 83 08 01 02 03 04 05 06 07 08
but the result is:
69 84 (reference data invalid)
.
I've tried also with:
00 20 00 83 08 12 34 56 78
But I still get the same error.
According to my SmartCart specifications, the card has support for:
- ISO 7816 smart cards type A, B and C (5 V, 3 V, 1.8 V)
- Compatible with communication protocols T=0, T=1
- Support for PPS (Protocol and Parameters Selection)
I'm a bit desperate as I cannot find a way out. Can you suggest me some changes to my APDU or even a completely different approach (another library or language to connect with my Smart Card)?
VERIFY
command for it. The fifth byte is the length of the command data (PIN), so your second try is obviously invalid. – Maarten Bodewes