nsISSLErrorListener

A mechanism to report a broken SSL connection.
1.0
66
Introduced
Gecko 1.9
Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3)

Note: The recipient of this SSL status notification should not block.

Method overview

boolean notifySSLError(in nsIInterfaceRequestor socketInfo, in PRInt32 error, in AUTF8String targetSite);

Methods

notifySSLError()

Called in case of an SSL error.

boolean notifySSLError(
  in nsIInterfaceRequestor socketInfo,
  in PRInt32 error,
  in AUTF8String targetSite
);
Parameters
socketInfo
A network communication context that can be used to obtain more information about the active connection.
error
The code associated with the error. The SSL status object that describes the problem(s).
targetSite
The site name that was used to open the current connection.
Return value

The consumer shall return true if it wants to suppress the error message related to the error (the connection will still get canceled).

See also