How can I load code on a card?

Julien SIMON

Once you have converted the applet, you need to load the CAP file on the card. This means chopping the CAP file and send it as an APDU sequence to the on-card installer. Remember: the maximum amount of data than an APDU may hold is 255 bytes, so chances are your CAP file won’t fit!

The nature of the APDU commands depends on the installer. The Java Card Runtime Environment Specification says very little about installation. What this means to you is that the installer that is part of your JCRE certainly uses proprietary commands.

This is a problem when you need to load an application on cards issued by different vendors. To alleviate this, most if not all Java Card implementations support the Open Platform standard.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact