1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10 #include "nsISSLStatus.h"
12 #include "nsAutoPtr.h"
13 #include "nsXPIDLString.h"
14 #include "nsIX509Cert.h"
15 #include "nsISerializable.h"
16 #include "nsIClassInfo.h"
20 , public nsISerializable
26 NS_DECL_NSISERIALIZABLE
30 virtual ~nsSSLStatus();
32 /* public for initilization in this file */
33 nsCOMPtr
<nsIX509Cert
> mServerCert
;
36 PRUint32 mSecretKeyLength
;
37 nsXPIDLCString mCipherName
;
39 bool mIsDomainMismatch
;
40 bool mIsNotValidAtThisTime
;
43 bool mHaveKeyLengthAndCipher
;
45 /* mHaveCertErrrorBits is relied on to determine whether or not a SPDY
46 connection is eligible for joining in nsNSSSocketInfo::JoinConnection() */
47 bool mHaveCertErrorBits
;
50 // 2c3837af-8b85-4a68-b0d8-0aed88985b32
51 #define NS_SSLSTATUS_CID \
52 { 0x2c3837af, 0x8b85, 0x4a68, \
53 { 0xb0, 0xd8, 0x0a, 0xed, 0x88, 0x98, 0x5b, 0x32 } }