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

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

Issue 1360633002: Implement Token Binding negotiation TLS extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test-server-flags
Patch Set: rebase 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
davidben 2015/09/25 21:51:50 We'll need the TB type, won't we? The HTTP layer i
nharper 2015/09/28 21:43:39 The http layer needs the TokenBinding (i.e. public
davidben 2015/10/01 16:15:17 I'm not sure I follow. My understanding here is th
nharper 2015/10/01 19:12:23 The draft spec for Token Binding over HTTP (https:
davidben 2015/10/01 19:20:12 Due to CORS, we end up in situations where we must
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698