In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

how the card reacts to faulty ISO7816 APDUs

Communication

Moderator: UNKNwYSHSA

nikonai
Posts: 16
Joined: Mon Feb 22, 2016 4:37 am
Points :163
Contact:

how the card reacts to faulty ISO7816 APDUs

Post by nikonai » Thu Feb 25, 2016 3:28 am

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!

lightupdark
Posts: 11
Joined: Sat Aug 29, 2015 2:01 am
Points :16
Contact:

Re: how the card reacts to faulty ISO7816 APDUs

Post by lightupdark » Wed Mar 02, 2016 4:56 am

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.
Being the best possible version of yourself.

lightupdark
Posts: 11
Joined: Sat Aug 29, 2015 2:01 am
Points :16
Contact:

Re: how the card reacts to faulty ISO7816 APDUs

Post by lightupdark » Wed Mar 02, 2016 4:59 am

Also remind that there may be specifications of how to handle different errors depending on what exactly you are working!
Being the best possible version of yourself.

ThePhoenyx
Posts: 41
Joined: Mon Jul 20, 2015 1:08 pm
Points :376
Contact:

Re: how the card reacts to faulty ISO7816 APDUs

Post by ThePhoenyx » Sat Mar 05, 2016 2:57 pm

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.
The world is full of stories;
And sometimes they permit themselves to be told.
~Cherokee Proverb

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer