有没有办法实现 HTML5MS Internet Explorer 中的功能?
HTML5 规范复活 Netscape 的
标签概念,用于安全地生成密钥对。
看来该标签已经被浏览器供应商很好地采用了。 FireFox、Safari、Chrome 和 Opera 支持它。与通常的网络标准一样,有一只害群之马不支持该标签,您能猜出它是哪一种浏览器吗?是的,它就是 Microsoft Internet Explorer!
我想在我的一个项目中使用
标签,但我需要为 MSIE 实现类似的功能。我想知道是否有任何 JavaScript 或 ActiveX 方法来实现以下功能:
- 生成密钥对,
- 请求在服务器端进行公钥签名,
- 最后在浏览器的密钥链中安装密钥对。
Specification of HTML5 resurrects Netscape's concept of <keygen>
tag used to securely generate pair of keys.
It seems that the tag has been quite well adopted by the browser vendors. It is supported by FireFox, Safari, Chrome and Opera. As usually with web standards there is one black sheep that doesn't support the tag and can you guess which browser is it? Yes, it is Microsoft Internet Explorer!
I'd like to use the <keygen>
tag in one of my projects, but I need to have similar functionality implemented for MSIE. I was wondering if there is any JavaScript or ActiveX way of implementing the functionality of:
- generation of pair of keys
- request for public key signing on the server-side
- finally installation of the pair in the browser's key chain.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在回答这个问题已经很晚了,但 IE 的替代品是 证书注册 API。
请注意,有两个不同的版本:XEnroll (XP) 和 CertEnroll (Vista, 7)。
It's rather late to answer this, but the IE alternatives are the Certificate Enrollment APIs.
Beware that there are two different versions: XEnroll (XP) and CertEnroll (Vista, 7).