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 12dictionary FailedCertSecurityInfo { 13 DOMString errorCodeString = ""; 14 boolean isUntrusted = false; 15 boolean isDomainMismatch = false; 16 boolean isNotValidAtThisTime = false; 17 DOMTimeStamp validNotBefore = 0; 18 DOMTimeStamp validNotAfter = 0; 19 DOMString issuerCommonName = ""; 20 DOMTimeStamp certValidityRangeNotAfter = 0; 21 DOMTimeStamp certValidityRangeNotBefore = 0; 22 DOMString errorMessage = ""; 23 boolean hasHSTS = true; 24 boolean hasHPKP = true; 25 sequence<DOMString> certChainStrings; 26}; 27