自学内容网 自学内容网

Java Card Platform Simulator (cref)

Java Card Platform Simulator (cref)

The Java ME Platform SDK includes the Java Card Platform Simulator, which you can use to simulate smart cards in the Java ME Platform SDK emulator’s slots. The Java Card Platform Simulator is found in the following location:

installdir\bin\cref.exe.

Hereafter we refer to it as simply cref. The basic procedure for testing SATSA applications with the Java ME Platform SDK is as follows:

  1. Start cref with a Java Card platform application.

  2. Start the emulator.

    When a SATSA application attempts to communicate with a smart card, it uses a socket connection to communicate with cref.

For example, to run cref on port 9025 with a prebuilt memory image, use a command line similar to this:

start cref -p 9025 -i memory_image.eeprom

The Java ME Platform SDK includes a demonstration application, Mohair, which illustrates how to use SATSA. For detailed instructions on running Mohair, see .


原文地址:https://blog.csdn.net/liudong200618/article/details/135874624

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!