[英]Java's MSCAPI from Web Applett Error?
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. 我正在开发一个应用程序,该应用程序使用Java的Crytographic Extension(更具体地说是MSCAPI)来使用用户的私钥通过Web浏览器对文件进行签名。 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".
我已经能够在本地成功完成此操作,但是当我将该类嵌入网页中并尝试访问用户密钥库时,出现以下错误:“无此类提供程序: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");
Thanks 谢谢
到目前为止,SunMSCAPI仅在Java 6中可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.