Web Applett 中的 Java MSCAPI 错误?
我正在开发一个应用程序,它使用 Java 的加密扩展(更具体地说是 MSCAPI),通过 Web 浏览器使用用户的私钥对文件进行签名。我已经能够在本地成功完成此操作,但是当我将类嵌入网页并尝试访问用户密钥库时,我收到以下错误:“没有这样的提供程序:SunMSCAPI”。有谁知道有关此错误原因的任何知识吗?
导致错误的代码行:
KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
谢谢
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");
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
截至目前,SunMSCAPI 仅在 Java 6 中可用。
SunMSCAPI is only available in Java 6 as of today.