FailedCertSecurityInfo.webidl (1065B)
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 */ 6 7 /** 8 * This dictionary is used for exposing failed channel certificate information 9 * to about:certerror to display information. 10 */ 11 12 enum OverridableErrorCategory { 13 "unset", 14 "trust-error", 15 "domain-mismatch", 16 "expired-or-not-yet-valid", 17 }; 18 19 dictionary FailedCertSecurityInfo { 20 DOMString errorCodeString = ""; 21 boolean errorIsOverridable = false; 22 unsigned long channelStatus = 0; 23 OverridableErrorCategory overridableErrorCategory = "unset"; 24 DOMTimeStamp validNotBefore = 0; 25 DOMTimeStamp validNotAfter = 0; 26 DOMString issuerCommonName = ""; 27 DOMTimeStamp certValidityRangeNotAfter = 0; 28 DOMTimeStamp certValidityRangeNotBefore = 0; 29 DOMString errorMessage = ""; 30 boolean hasHSTS = true; 31 boolean hasHPKP = true; 32 sequence<DOMString> certChainStrings; 33 };