WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIBadCertListener2

IID:2c3d268c-ad82-49f3-99aa-e9ffddd7a0dc
Inherits From:nsISupports

A mechanism to report a broken SSL status. The recipient should NOT block. Can be used to obtain the SSL handshake status of a connection that will be canceled because of improper cert status.

This interface is implemented by the following components:


Methods

PRBool notifyCertProblem ( nsIInterfaceRequestor socketInfo , nsISSLStatus status , AUTF8String targetSite )

PRBool notifyCertProblem ( nsIInterfaceRequestor socketInfo , nsISSLStatus status , AUTF8String targetSite )

Arguments:
socketInfo: A network communication context that can be used to obtain more information about the active connection.
status
targetSite: The Site name that was used to open the current connection.
Returns:
The consumer shall return true if it wants to suppress the error message related to the bad cert (the connection will still get canceled).

Reference documentation is generated from Mozilla's source.