michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIX509Cert; michael@0: michael@0: [scriptable, uuid(3f1fcd83-c5a9-4cd1-a250-7676ca7c7e34)] michael@0: interface nsISSLStatus : nsISupports { michael@0: readonly attribute nsIX509Cert serverCert; michael@0: michael@0: readonly attribute string cipherName; michael@0: readonly attribute unsigned long keyLength; michael@0: readonly attribute unsigned long secretKeyLength; michael@0: michael@0: readonly attribute boolean isDomainMismatch; michael@0: readonly attribute boolean isNotValidAtThisTime; michael@0: michael@0: /* Note: To distinguish between michael@0: * "unstrusted because missing or untrusted issuer" michael@0: * and michael@0: * "untrusted because self signed" michael@0: * query nsIX509Cert3::isSelfSigned michael@0: */ michael@0: readonly attribute boolean isUntrusted; michael@0: michael@0: /** michael@0: * True only if (and after) serverCert was successfully validated as michael@0: * Extended Validation (EV). michael@0: */ michael@0: readonly attribute boolean isExtendedValidation; michael@0: };