> The import function can really import PKCS#12 files format only, not DER > or PKCS#7 format . Usually PKCS#12 files contain both certs and keys, not > just certs, so the function is misnamed - it should be "import certs and > keys" . I am developing Firefox plugin that will allow users to encrypt some content (using NSS) before sending it to somebody. For encryption process public key is needed and original idea is that user will import certs (belonging to people that will receive encrypted content) into "Other People" store. My plugin will extract public key from those/selected certificates and use them for encryption. This is how my Internet Explorer plugin works.
> To import other people's certs, you can try just opening the file in > mozilla with the File/open function . You might need to rename it to .der > or .DER for it to perform the right action. I'm not sure what MIME type > mozilla relies on to invoke the DER cert import function, although I > believe the information is public and vailable on an old Netscape web > site. I have just tried to import using File->Open... one cert in .cer file and it tries to import my end user cert into (CA) "Authorities" store, although my cert is end user cert and it doesn't have extensions marking it as a CA cert. _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
