diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /security/manager/ssl/nsIBadCertListener2.idl | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'security/manager/ssl/nsIBadCertListener2.idl')
-rw-r--r-- | security/manager/ssl/nsIBadCertListener2.idl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/security/manager/ssl/nsIBadCertListener2.idl b/security/manager/ssl/nsIBadCertListener2.idl new file mode 100644 index 000000000..9cd1cd382 --- /dev/null +++ b/security/manager/ssl/nsIBadCertListener2.idl @@ -0,0 +1,32 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "nsISupports.idl" + +interface nsISSLStatus; +interface nsIInterfaceRequestor; + +/** + * 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. + */ +[scriptable, uuid(2c3d268c-ad82-49f3-99aa-e9ffddd7a0dc)] +interface nsIBadCertListener2 : nsISupports { + + /** + * @param socketInfo A network communication context that can be used to obtain more information + * about the active connection. + * @param status The SSL status object that describes the problem(s). + * @param targetSite The Site name that was used to open the current connection. + * + * @return The consumer shall return true if it wants to suppress the error message + * related to the bad cert (the connection will still get canceled). + */ + boolean notifyCertProblem(in nsIInterfaceRequestor socketInfo, + in nsISSLStatus status, + in AUTF8String targetSite); +}; |