Java 中列出所有智能卡插槽
如何在 Java 中搜索计算机中的所有可用插槽,以便获取每个插槽的每个密钥库?
How can I search through all available slots in the machine so I can get each keystore for each slot, in Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
正如我发现的,有这样的方法:
感谢 这个问题
As I've found, there is this a way:
thanks to this question
这不是一个非常精确的问题。
如果你不精确,那么“最可能”的解决方案是
http://download .oracle.com/javase/6/docs/jre/api/security/smartcardio/spec/javax/smartcardio/CardTerminals.html
但是你似乎在谈论PKCS#11(不是智能卡硬件“插槽”的直接映射)
This is not a very precise question.
If you are not precise, then the "most probable" solution is
http://download.oracle.com/javase/6/docs/jre/api/security/smartcardio/spec/javax/smartcardio/CardTerminals.html
But you seem to be talking about PKCS#11 (which is NOT the direct mapping of a smart card hardware "slot")
用C++编写JNI代码并从java中调用它。
Write JNI code in C++ and call it from java.