Leung WC wrote:
> So, can I access NSS from JavaScript? (Provided I have chrome access)
> 

No. You need either find some scriptable interface that does this, or
design and implement a scriptable interface which calls this PK11 function.

Quickly looking at where this is called in Mozilla:

http://lxr.mozilla.org/seamonkey/ident?i=PK11_GenerateRandom

I do not think there is an existing scriptable interface that does the
right thing.

Writing a xpcom component that does this is trivial, but outside the
scope of this newsgroup.  If you need assistance doing this, send me an
email.

Regards,
Doug
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to