开发者

Is there a free virtual SmartCard which I could use to run some tests?

I imagine this makes no difference, but I w开发者_StackOverflow中文版ill try to access it using a Java application.

UPDATE: I'll use smart cards in a public/private keys encryption system.


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


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.


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"


You can get a virtual smartcard (and a virtual reader) here: http://sourceforge.net/projects/vsmartcard/


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜