6

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

4

1 回答 1

12

来自 3GPP 的文件应该足以补充您从 Oracle 下载的 Javacard 库。

正如您需要知道卡的 Javacard 版本一样,您还需要知道卡支持的 SIM API 版本。根据您提到的 3GPP TS 03.19 检查它,或者您也可以检查3GPP TS 43.019。下载正确的版本。

这是我用来生成 SIM API 库的一些步骤:

  1. 下载相关的 SIM API 档案,例如3GPP 43.019 v5.6.0
  2. 提取43019-560.zip文件
  3. Annex_A_java.zip在它下面提取
  4. 打开解压的Annex_A_java目录
  5. 压缩sim文件夹
  6. sim.zip将扩展名重命名为sim_v5.6.0.jar

除了 JAR 文件,您还需要复制导出文件(生成 CAP 文件时需要)。

  1. 提炼Annex_B_Export_Files.zip
  2. 打开Annex_B_Export_Files目录
  3. 将该目录复制sim到您的导出文件集合目录中。

希望能帮助到你!

于 2014-03-18T05:36:10.900 回答