Kate X wrote:
Would anybody give me a hint of how to add my custom badCertHandler, or anyother solution for this problem?

You can either register a global badCertHandler by implementing nsIBadCertListener with a contract ID of "@mozilla.org/nsBadCertListener;1".

Or, in Gecko 1.8 and later, you can do this on a per-channel basis by implementing nsIInterfaceRequestor, giving out some object in response to nsIBadCertListener, and setting that interface requestor as the channel's notification callbacks.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to