Is there a free virtual smart card that I could use to run some tests?

I suppose this doesn't make any difference, but I will try to access it using a Java application.

UPDATE: I will use smart cards in a public / private key encryption system.

+4
source share
6 answers

There are various types of smart cards, and you do not specify what type of test you have in mind, but I think you are talking about cryptographic smart cards.

The JavaCard development kit contains a JCRE link that can be used to emulate the hardware JavaCard in the software, so you can "deploy" the smart card applet (if you write it) to a non-existent smart card and test it with apdutool [1]

[1] http://www.developer.com/tech/article.php/913451/A-Java-Card-Primer-Part-2.htm

+9
source

For this purpose, you can use our open source emulator jCardSim http://jcardsim.org . It fully emulates a real NCard Java chip card, and you can also use javax.smartcardio (Virtual Java Card Terminal) for tests.

+7
source

A JCIDE virtual smart card can simulate a card based on the PCSC communication protocol in Windows, which can be used in much the same way as a real card.

JCIDE is a javacard development kit that contains a virtual card and virtual reader. You can use to run / debug some tests for free.

You can see more " https://github.com/Tolice/JCIDE/wiki "

+2
source

Here you can get a virtual smart card (and virtual reader): http://sourceforge.net/projects/vsmartcard/

0
source

If you are looking for a javacard implementation, CAPRunner may be your friend. It can run CAP files. Used in conjunction with WebSCard , you also get a web interface to it.

0
source

If you really want to go to the JavaCard programming level, current NetBeans http://www.netbeans.org/ (6.9.1 and later) have a JavaCard module that comes with a JC3 card emulator, allowing you to test your cards / applets by simply clicking run (or debug) in a JavaCard project.

This is pretty convenient, but beware of different versions of JavaCard and check which features, functions and parameters are really available for the version of the platform for which you are programming at the end.

-1
source

Source: https://habr.com/ru/post/1309593/


All Articles