It there any way to implement HTML5 <keygen> functionality in MS Internet Explorer?
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.
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).
精彩评论