import "nsISSLCertErrorDialog.idl";
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. | |
| 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.
| 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. |
1.7.1