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!

How to send and receive data more than 255 bytes?

843851Apr 12 2010 — edited Apr 15 2010
Hi Friends..

I want to know, how to send and receive data more than 255 bytes.. Is this possible?..
There are two things that i want to know, that is :
1. Assume that, i want to store 32000 bytes into Applet..
I'd use this Apdu command :
 0x80 0x01 0x00 0x00 0x7D00 --- 32000 data bytes --- 0x7F
                                CLA  INS    P1    P2      LC               --- Data ---          LE
Can i use this command?..
or do i've to separate this data into several Apdu Commands?..


2. And then how to retrieve that data from Applet?..
Yes, i know there's a getRemainingData method, that implement GET_REMAINING_DATA_INS..
but i'm still don't know how to implement this..
Is there any example that implement GET_REMAINING_DATA_INS?..
Could you help me?..

Please help me regarding this..

Thanks in advance..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2010
Added on Apr 12 2010
24 comments
1,446 views