Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to read large data from the Card using Extended Length APDU

naraJul 22 2016

Hi,

I am trying to write a data of length 0x2CF0 bytes using extended length APDU on to the card and it works fine. But i am unable to read the same amount of data back from the card using extended length apdu.

I get the following error,

"sun.security.smartcardio.PCSCException: Unknown error 0x4d3".

When i try to load a relatively smaller data of size 0x1af0 bytes i am able to successfully write and read from the card using extended length apdu.

Is there any limitation with respect to read data from the card in extended length apdu? Is there a workaround without the use of command chaining?

PS: I use a JCOP 2.4.2 R2 card.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 19 2016
Added on Jul 22 2016
0 comments
559 views