[I just realized I didn't send this to the list yesterday.]

[EMAIL PROTECTED] wrote:
> shown below.  I understand that Firefox does not support VBSCRIPT.
> So, should I write this function in JavaScript?  I am not sure how to
> do this, though. Any hint would be highly appreciated.

AFAIK the recommended way to generate a CSR in Mozilla these days
is crypto.generateCRMFRequest(), see

   http://developer.mozilla.org/en/docs/JavaScript_crypto

Previously Netscape was using the keygen tag for this purpose:

   http://wp.netscape.com/eng/security/comm4-keygen.html

This should still work in Firefox 2, but I guess it's being
deprecated. See also


news://news.mozilla.org/[EMAIL PROTECTED]

(which was previously posted to this group)

> <OBJECT
>         classid="clsid:127698e4-e730-4e5c-
> a2b1-21490a70c8a1"
>         CODEBASE="/xenroll.dll"
>         id="encoder"    >
> </OBJECT>
> <SCRIPT LANGUAGE=VBSCRIPT>

Apart from using VBScript, the problem with this code is primarily
that it relies on the Xenroll ActiveX control... you will also
run into troubles with that under Vista, since Xenroll is no longer
available there (use CertEnroll instead).

Kaspar
_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to