Reputation: 28365
I imagine this makes no difference, but I will try to access it using a Java application.
UPDATE: I'll use smart cards in a public/private keys encryption system.
Upvotes: 4
Views: 7646
Reputation: 491
The JCIDE's virtual SmartCard can simulate a card based on the PCSC communication protocol in a Windows System, which can be used nearly the same as a real card.
The JCIDE is a javacard development kit which contains 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"
Upvotes: 2
Reputation: 461
You can use our open-source emulator jCardSim http://jcardsim.org for this purpose. It's fully emulate the real NXP-chip JavaCard and also, you can use javax.smartcardio (Virtual Java Card Terminal) for a tests.
Upvotes: 7
Reputation: 1085
If you're looking for a javacard implementation, the CAPRunner might be your friend. It can runs CAP files. Used in combination with WebSCard you also get a web interface to it.
Upvotes: 0
Reputation: 4810
You can get a virtual smartcard (and a virtual reader) here: http://sourceforge.net/projects/vsmartcard/
Upvotes: 0
Reputation: 2121
If you really want to get down on JavaCard programming level, current NetBeans http://www.netbeans.org/ (6.9.1 and later) have a JavaCard module that comes ready with a JC3 card emulator, allowing you to test your cardlets/applets by just pressing "run" (or "debug") in JavaCard project.
It's pretty comfortable, but beware of the different JavaCard versions and check which features, functions and parameters are actually available for the platform version you are programming for in the end.
Upvotes: -1
Reputation: 4142
There are different types of smart cards and you're not making clear which kind of test you mean, but I guess you're talking about cryptographic smart cards.
JavaCard development kit contains a reference JCRE which can be used to emulate a hardware JavaCard in software, so you can "deploy" your smart card applet (if you're writing one) to the non-existant smart card and test it with apdutool [1]
[1] http://www.developer.com/tech/article.php/913451/A-Java-Card-Primer-Part-2.htm
Upvotes: 10