开发者

Where to download SunPKCS11Provider

I'm trying to access smardCard folowing this article but I have no idea where to find jar with SunPKCS11Provider. In Oracle docs they say it is standard since 1.5. Here is my block where compiler is complaining it can't find SunPKCS11:

String configName = "d:\\dev\\ws\\pkiTest\\pkcs11.cfg";
Provider p = new sun.security.pkcs11.SunPKCS1开发者_如何学Python1(configName);
Security.addProvider(p);


64 bit windows support should become available in next few months. it's being backported to a jdk 6 update.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6931562


It wasn't available for download until Java 8 (for 64 bit): "The class SunPKCS11 is not available even in JDK/JRE 7 for WIndows 64 bit." (Duplicate bug description) http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6880559

It was introduced in Java 5 (32 bit), and is included in Oracle's JDK downloads since then. It was not backported to the 64 bit versions after introduced in Java 8 (64 bit).

I think the other answer is referring to a different provider (SunMSCAPI).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜