I'm trying to develop a STK application but I don't know where to get the development kit. Right now for Javacard I'm getting the one from Oracle's website, but it doesn't have the sim.toolkit package.
I don't want to buy it from Gemalto, etc. Is there any "free" implementation?
I have found the ETSI - 3GPP a zip file with some code and libraries, but I don't know if this would be enough. Do I generate the cap/jar file from the code there?
Thanks
The files from 3GPP should be enough to complement the Javacard libraries that you've downloaded from Oracle.
Just as you need to know the Javacard version of your card, you need to know also what version of SIM API the card support. Check it againsts the 3GPP TS 03.19 that you've mentioned, or you may also check for 3GPP TS 43.019. Download the correct version.
Here is some steps I used to generate SIM API library:
- Download related SIM API archieve, for example 3GPP 43.019 v5.6.0
- Extract the
43019-560.zip
file - Extract
Annex_A_java.zip
under it - Open the extracted
Annex_A_java
directory - Zip the
sim
folder - Rename the
sim.zip
extension tosim_v5.6.0.jar
Besides the JAR file, you also need to copy the export files (required when generating CAP file).
- Extract
Annex_B_Export_Files.zip
- Open
Annex_B_Export_Files
directory - Copy the
sim
directory into your collection of export files directory.
Hope it helps!
来源:https://stackoverflow.com/questions/22362327/sim-toolkit-application-javacard-development-kit