Hi,

Is there any way to convert  an nsIX509Cert* to nsNSSCertificate *?

Or, does nsIX509Cert has a function similar to "GetCert" of
nsNSSCertificate? If not, gow can I convert from to nsIX509Cert*  to
CERTCertificate*?

The issue is that for the ConfirmMismatchDomain event, an instance of
nsIX509Cert* is passed, but I need to get its info on the form of
CERTCertificate *

Any help would be greatly appreciated

Thanks in advance

P.S. How can I use the class nsNSSCertificate? Even if I add pipnss as
a dependence of my component (REQUIRES variable) and $(NSS_LIBS) as
part of EXTRA_DSO_LDOPTS, libpipnss.so is not being linked and I
receive an error if I try to use the method GetCert:

undefined reference to `nsNSSCertificate::GetCert()'

_______________________________________________
dev-tech-xpcom mailing list
dev-tech-xpcom@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to