Save the text field in a file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Scott_S
Posted On:   Friday, January 11, 2002 02:16 AM

Is there any way I can make the applet save the text field it has in a text file in the harddisk before the card is taken out? What method I need to use. I planned to backup the text field using object serialization...Pls help..


Assume I'm doing a digital signatures applet for java card...without client application....The applet can work .....is there anyway I can present it for my presentation? without the client part.

Re: Save the text field in a file

Posted By:   Joseph_Smith  
Posted On:   Thursday, January 24, 2002 10:46 AM

Scott,
I think some things need to be clearified here. First, host applications communicate to the CAD not to the actual card, and vice versa.

Second, when a card is powered up, the selected applet responds to commands, therefore, it can't be "smart" enough to know when the card's been removed because when the card is removed, it's in a suspended state.

You will need your host application to send an C-APDU to the applet and the applet will send back in an R-APDU with data. From there, your host can save it to disk.
About | Sitemap | Contact