Home

Awesome

jCardSim (Official repo of the jCardSim project)

Congratulations! jCardSim has won Duke's Choice 2013 Award!

alt text

Please note that we moved our code repository from Google Code to GitHub.

jCardSim is an open source simulator for Java Card, v.2.2/3.0.5:

Key Features:

// 1. create simulator
CardSimulator simulator = new CardSimulator();

// 2. install applet
AID appletAID = AIDUtil.create("F000000001");
simulator.installApplet(appletAID, HelloWorldApplet.class);

// 3. select applet
simulator.selectApplet(appletAID);

// 4. send APDU
CommandAPDU commandAPDU = new CommandAPDU(0x00, 0x01, 0x00, 0x00);
ResponseAPDU response = simulator.transmitCommand(commandAPDU);

// 5. check response
assertEquals(0x9000, response.getSW());

JavaDoc: https://github.com/licel/jcardsim/tree/master/javadoc

(Javadoc rendered: https://jcardsim.org/jcardsim/)

Latest stable release 2.2.1: https://github.com/licel/jcardsim/raw/master/jcardsim-2.2.1-all.jar

Latest stable release 2.2.2: https://github.com/licel/jcardsim/raw/master/jcardsim-2.2.2-all.jar

Maven Central Repository

<dependency>
  <groupId>com.licel</groupId>
  <artifactId>jcardsim</artifactId>
  <version>2.2.1</version>
</dependency>
<dependency>
  <groupId>com.licel</groupId>
  <artifactId>jcardsim</artifactId>
  <version>2.2.2</version>
</dependency>

What is the difference from Oracle Java Card Development Kit simulator?

How to help jCardSim?

License: Apache License 2.0

Third-party libraries: Legion of the Bouncy Castle Java

Trademarks: Oracle, Java and Java Card are trademarks of Oracle Corporation.