On 8/16/07, Mark <[EMAIL PROTECTED]> wrote:
> I have developed an XPCOM in C++ that implements the
> nsIBadCertListener interface. The code compiles and get registered
> according to compreg.dat, however, the events (specifically
> ConfirmUnknownIssuer) is not called when this event happens.
>
> My question is, how can I add this component as a listener when a Bad
> cert is found. I could not find an example anywhere
>
I didn't check the code now, but IIRC you should set
notificationCallbacks of a channel to an object that can be
getInterface'd to nsIBadCertListener. If you figure it out, please add
an example to the code snippets at developer.mozilla.org.

Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to