Page 1 of 1

how the card reacts to faulty ISO7816 APDUs

Posted: Thu Feb 25, 2016 3:28 am
by nikonai
If I am sending a 3-byte long(OC,faulty) first inter-industry APDU to the card, who should detect the error?

Are there any specifications in the Java Card related specs which shows how the card reacts to faulty ISO7816 APDUs?

Thanks a bunch!

Re: how the card reacts to faulty ISO7816 APDUs

Posted: Wed Mar 02, 2016 4:56 am
by lightupdark
You can refer to ISO7816 specification for more error code usage.

You can also specify your own error codes which are not specified in the standard.

Re: how the card reacts to faulty ISO7816 APDUs

Posted: Wed Mar 02, 2016 4:59 am
by lightupdark
Also remind that there may be specifications of how to handle different errors depending on what exactly you are working!

Re: how the card reacts to faulty ISO7816 APDUs

Posted: Sat Mar 05, 2016 2:57 pm
by ThePhoenyx
You are going to want to read the 7816-4 standard. It has all of the command/response and error information in it.
ermmm... ah!. ISO/IEC 7816-4:2013 is the standard number and it's the latest revision.