Backed out changeset 06f41c22f3a6 (bug 1888460) for causing linux xpcshell failures...
[gecko.git] / dom / webidl / FailedCertSecurityInfo.webidl
blobcdd0425d6a9fa4f16e993b5fcd0758560f9ab30b
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/.
5  */
7 /**
8  * This dictionary is used for exposing failed channel certificate information
9  * to about:certerror to display information.
10  */
12 enum OverridableErrorCategory {
13   "unset",
14   "trust-error",
15   "domain-mismatch",
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;