Thanks a lot for your input.

If you use a signed script or an extension, you can call from it the 
XPCOM nsIX509CertDB interface (frozen) that has a function for that : 
importPKCS12File.

How could I find info about XPCOM interface? what lib contains this?
What do you mean "frozen"? 
Does nsILocalFile interface included in XPCOM?

Unfortunately that function expects the PKCS12 to be inside a file 
(expecting nsILocalFile as input parameter), so you might have to write 
it to disk to do the import (the signed script or extension should have 
enough rights to do that). You might also to avoid that create a class 
with the nsILocalFile interface that provides the content from memory.
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto


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

Reply via email to