>
> If you know that it is a server cert, you can also use the
> 'nsNSSCertificateDB::ImportServerCertificate() method
> (http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/sr...
> ).
> You have to convert base64 data to DER format before using this method.
>

I have solved my current issue, but out of curiosity - I thought you
are not supposed to write your custom tools against the NSS source.
See this post for reference 
http://groups.google.com/group/mozilla.dev.builds/msg/d34889514dc685c3.
Apparently XPCOM was the only public way of accessing internal NSS
operations. Am I wrong? Can you elaborate on your suggestion? Thanks.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to