Accessing smart cards using java

Due to project analysis, I am trying to understand how Java accesses smart cards I wonder if there is any type of virtual smart card that I can use to do some Java testing?

By the way, I've read Java card. It seems that it is used to run Java in the card instead of using java for smart card data access, right?

Solution

Look at this tutorial + example. And related I've used these examples and they work well

It is important that you cannot get any information from the smart card You can only send content to its processor Therefore, whenever you get the privatekey object, you actually don't have a private key - it's just a proxy for the smartcard processor, and calling the method on it will call the processor

However, I don't know about virtual smart cards

The API of interest is javax smartcardio

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>