Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: net/ssl/ssl_info.h

Issue 1313363003: Expose OpenSSL's key_exchange_info in the content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proper #ifdef fix Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/ssl/ssl_cipher_suite_names.cc ('k') | net/ssl/ssl_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SSL_SSL_INFO_H_ 5 #ifndef NET_SSL_SSL_INFO_H_
6 #define NET_SSL_SSL_INFO_H_ 6 #define NET_SSL_SSL_INFO_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Bitmask of status info of |cert|, representing, for example, known errors 53 // Bitmask of status info of |cert|, representing, for example, known errors
54 // and extended validation (EV) status. 54 // and extended validation (EV) status.
55 // See cert_status_flags.h for values. 55 // See cert_status_flags.h for values.
56 CertStatus cert_status; 56 CertStatus cert_status;
57 57
58 // The security strength, in bits, of the SSL cipher suite. 58 // The security strength, in bits, of the SSL cipher suite.
59 // 0 means the connection is not encrypted. 59 // 0 means the connection is not encrypted.
60 // -1 means the security strength is unknown. 60 // -1 means the security strength is unknown.
61 int security_bits; 61 int security_bits;
62 62
63 // Security information of the SSL connection handshake.
64 // The meaning depends on the cipher used, see BoringSSL's |SSL_SESSION|'s
65 // key_exchange_info for more information.
66 // A zero indicates that the value is unknown.
67 int key_exchange_info;
68
63 // Information about the SSL connection itself. See 69 // Information about the SSL connection itself. See
64 // ssl_connection_status_flags.h for values. The protocol version, 70 // ssl_connection_status_flags.h for values. The protocol version,
65 // ciphersuite, and compression in use are encoded within. 71 // ciphersuite, and compression in use are encoded within.
66 int connection_status; 72 int connection_status;
67 73
68 // If the certificate is valid, then this is true iff it was rooted at a 74 // If the certificate is valid, then this is true iff it was rooted at a
69 // standard CA root. (As opposed to a user-installed root.) 75 // standard CA root. (As opposed to a user-installed root.)
70 bool is_issued_by_known_root; 76 bool is_issued_by_known_root;
71 77
72 // True if a client certificate was sent to the server. Note that sending 78 // True if a client certificate was sent to the server. Note that sending
(...skipping 15 matching lines...) Expand all
88 std::string pinning_failure_log; 94 std::string pinning_failure_log;
89 95
90 // List of SignedCertificateTimestamps and their corresponding validation 96 // List of SignedCertificateTimestamps and their corresponding validation
91 // status. 97 // status.
92 SignedCertificateTimestampAndStatusList signed_certificate_timestamps; 98 SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
93 }; 99 };
94 100
95 } // namespace net 101 } // namespace net
96 102
97 #endif // NET_SSL_SSL_INFO_H_ 103 #endif // NET_SSL_SSL_INFO_H_
OLDNEW
« no previous file with comments | « net/ssl/ssl_cipher_suite_names.cc ('k') | net/ssl/ssl_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698