[EMAIL PROTECTED] wrote:
Hi!

I'm trying to import a CRL (in DER format) using NSS API. Since 3.4 API does not have an import function available, I took the source code from the crlutil and massaged it to fit into our application.

NSS 3.4 did have import functions available for CRLs : CERT_ImportCRL and SEC_NewCrl . The main difference is that the first call performs some checks on the CRL and the second one does not.

NSS 3.6 added PK11_ImportCRL . This is a more flexible function that allows you to specify different options when importing, and can achieve all that the 2 older APIs did through these options. So, it supercedes them both.

NSS 3.10 added CERT_CacheCRL, which allows you to import the CRL temporariy into the NSS CRL cache directly, without adding it to a permanent storage token.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to