开发者

Java's MSCAPI from Web Applett Error?

开发者 https://www.devze.com 2022-12-17 08:53 出处:网络
I am developing an application that uses Java\'s Crytographic Extension, more specifically MSCAPI, to sign a file using a user\'s private key all from a web browser. I have been able to do this succes

I am developing an application that uses Java's Crytographic Extension, more specifically MSCAPI, to sign a file using a user's private key all from a web browser. I have been able to do this succesfully locally, but when i embed the class in a web page and try to access users keystore i get the following error: "no such provider: SunMSCAPI". Does anyone have any knowledge pertaining to the cause of this error?

The line of code that causes the error:

KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");

Thank开发者_高级运维s


SunMSCAPI is only available in Java 6 as of today.

0

精彩评论

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