I developed a Java Card applet in Eclipse and obtained a cap file. Then i used jcManager – Java Secure Card Manager to load that file to my smart cards. I have two type of smart cards:
My smart card reader is: SDI011 Dual Interface Reader.
Also to developing SIM applet, i'm using Gemalto Developer Suite [3.6]. That IDE has a GSM emulator and my SIM applet works on it well. It gives cap, jar, jac, exp.. files of applet.
Everything is fine so far but i want to load that cap file to my contact or contactless Java Card [because i have no SIM card to work on], and then send-receive APDU messages.
Is it possible? If yes, how? How to load my SIM applet to real smart card [not SIM card]?
The Wallet applet declares various constants. Some constants are one-byte values in the header of command APDUs (Application Protocol Data Units). APDUs are packets of data that are exchanged between the CAD and a smart card. APDUs are the standard means of communication for smart cards.
Technical overview of SIM appletsApplets are based on Java Card, a limited subset of Java language. The SIM cards operating system (OS) is similarly written in Java Card.
The Java Powered Logos SIM is based upon a highly efficient, 100% in-house developed Java Card Virtual Machine. The Java Powered Logos SIM combines the VM with the successful native Logos SIM. The result is a powerful, proven product based upon a decade of SIM software experience.
If your card os supports the OTA then you can try loading the applet via OTA. You can also delete via OTA. I have never used gemalto tools so I am only giving you a way you can try. Refer to GP document or, 3gpp ts 03.48. For OTA.
It might not work because the SIM application might have dependencies to APIs that are not present in the JCOP cards (for instance ETSI 102 705). But then it is worth trying. Make sure that the file format is compatible between the tools (a cap file is not always a cap file by the way; a real cap file is a zip, some tools prefer IJC files). Try using the cap file from the Gemalto tool in the jcManager. If it does not work you can try GPShell. The main challenge is to have the keys to your target, and then the right tool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With