Public Member Functions

nsISSLCertErrorDialog Interface Reference

import "nsISSLCertErrorDialog.idl";

List of all members.

Public Member Functions

void showCertError (in nsIInterfaceRequestor ctx, in nsISSLStatus status, in nsIX509Cert cert, in AString textErrorMessage, in AString htmlErrorMessage, in ACString hostName, in PRUint32 portNumber)
 Called when an SSL connection aborts because of a bad certificate, and no other code is in place for reporting the problem.

Member Function Documentation

void nsISSLCertErrorDialog::showCertError ( in nsIInterfaceRequestor  ctx,
in nsISSLStatus  status,
in nsIX509Cert  cert,
in AString  textErrorMessage,
in AString  htmlErrorMessage,
in ACString  hostName,
in PRUint32  portNumber 
)

Called when an SSL connection aborts because of a bad certificate, and no other code is in place for reporting the problem.

Should bring up a dialog to inform the user and display the certificate.

Parameters:
status Might be used to query additional information
cert The certificate that this error is about
textErrorMessage An error message with whitespace formatting
htmlErrorMessage Optional, might either be empty, or might contain the same message as in textErrorMessage plus some html formatting.
hostName The error occurred when connecting to this hostName.
portNumber The error occurred when connecting to this portNumber.

The documentation for this interface was generated from the following file: