1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/common/ssl_status.h"
7 #include "net/ssl/ssl_info.h"
11 SSLStatus::SSLStatus()
12 : security_style(SECURITY_STYLE_UNKNOWN
),
18 content_status(NORMAL_CONTENT
) {
21 SSLStatus::SSLStatus(SecurityStyle security_style
,
23 const SignedCertificateTimestampIDStatusList
&
24 signed_certificate_timestamp_ids
,
25 const net::SSLInfo
& ssl_info
)
26 : security_style(security_style
),
28 cert_status(ssl_info
.cert_status
),
29 security_bits(ssl_info
.security_bits
),
30 key_exchange_info(ssl_info
.key_exchange_info
),
31 connection_status(ssl_info
.connection_status
),
32 content_status(NORMAL_CONTENT
),
33 signed_certificate_timestamp_ids(signed_certificate_timestamp_ids
) {}
35 SSLStatus::~SSLStatus() {}
37 } // namespace content