1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This dictionary is used for exposing failed channel certificate information
9 * to about:certerror to display information.
12 enum OverridableErrorCategory {
16 "expired-or-not-yet-valid",
19 dictionary FailedCertSecurityInfo {
20 DOMString errorCodeString = "";
21 OverridableErrorCategory overridableErrorCategory = "unset";
22 DOMTimeStamp validNotBefore = 0;
23 DOMTimeStamp validNotAfter = 0;
24 DOMString issuerCommonName = "";
25 DOMTimeStamp certValidityRangeNotAfter = 0;
26 DOMTimeStamp certValidityRangeNotBefore = 0;
27 DOMString errorMessage = "";
28 boolean hasHSTS = true;
29 boolean hasHPKP = true;
30 sequence<DOMString> certChainStrings;