E Perlade wrote:

The problem is retrieving distribution points. I need to know certificate extensions especially distribution points extension in its decoded form. So the function CERT_FindCRLDistributionPoints seems good to me moreover it calls CERT_DecodeCRLDistributionPoints, that's what I want. Unfortunately using this function outside nss results in an undifined symbol error during compilation. I found CERT_FindCRLDistributionPoints isn't declared in nss.def as a public API function. Is that a bug? Is there any other simple way retrieving distribution points URI from a CERTCertificate structure? Note: adding CERT_FindCRLDistributionPoints to nss.def file allow me to do what I want.

Until we sort out whether we can and want to export that function, you can implement it yourself using the exported CERT_FindCertExtension and CERT_DecodeCRLDistributionPoints functions.

Wan-Teh
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to