OLD | NEW |
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // standard CA root. (As opposed to a user-installed root.) | 75 // standard CA root. (As opposed to a user-installed root.) |
76 bool is_issued_by_known_root; | 76 bool is_issued_by_known_root; |
77 | 77 |
78 // 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 |
79 // a Certificate message with no client certificate in it does not count. | 79 // a Certificate message with no client certificate in it does not count. |
80 bool client_cert_sent; | 80 bool client_cert_sent; |
81 | 81 |
82 // True if a channel ID was sent to the server. | 82 // True if a channel ID was sent to the server. |
83 bool channel_id_sent; | 83 bool channel_id_sent; |
84 | 84 |
| 85 // True if Token Binding was negotiated with the server and we agreed on a |
| 86 // version and key params. |
| 87 bool token_binding_negotiated; |
| 88 |
85 HandshakeType handshake_type; | 89 HandshakeType handshake_type; |
86 | 90 |
87 // The hashes, in several algorithms, of the SubjectPublicKeyInfos from | 91 // The hashes, in several algorithms, of the SubjectPublicKeyInfos from |
88 // each certificate in the chain. | 92 // each certificate in the chain. |
89 HashValueVector public_key_hashes; | 93 HashValueVector public_key_hashes; |
90 | 94 |
91 // pinning_failure_log contains a message produced by | 95 // pinning_failure_log contains a message produced by |
92 // TransportSecurityState::PKPState::CheckPublicKeyPins in the event of a | 96 // TransportSecurityState::PKPState::CheckPublicKeyPins in the event of a |
93 // pinning failure. It is a (somewhat) human-readable string. | 97 // pinning failure. It is a (somewhat) human-readable string. |
94 std::string pinning_failure_log; | 98 std::string pinning_failure_log; |
95 | 99 |
96 // List of SignedCertificateTimestamps and their corresponding validation | 100 // List of SignedCertificateTimestamps and their corresponding validation |
97 // status. | 101 // status. |
98 SignedCertificateTimestampAndStatusList signed_certificate_timestamps; | 102 SignedCertificateTimestampAndStatusList signed_certificate_timestamps; |
99 }; | 103 }; |
100 | 104 |
101 } // namespace net | 105 } // namespace net |
102 | 106 |
103 #endif // NET_SSL_SSL_INFO_H_ | 107 #endif // NET_SSL_SSL_INFO_H_ |
OLD | NEW |