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

Unified Diff: net/socket/ssl_client_socket_openssl.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, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_openssl.h
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h
index dbceeafa3fc5dbe0dc4f9ae8c4f348dfacd09220..9acb728f961b498a06236f0f2af1c8f9fba127af 100644
--- a/net/socket/ssl_client_socket_openssl.h
+++ b/net/socket/ssl_client_socket_openssl.h
@@ -210,6 +210,13 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
void OnPrivateKeySignComplete(Error error,
const std::vector<uint8_t>& signature);
+ int TokenBindingAdd(const uint8_t** out,
+ size_t* out_len,
+ int* out_alert_value);
+ int TokenBindingParse(const uint8_t* contents,
+ size_t contents_len,
+ int* out_alert_value);
+
bool transport_send_busy_;
bool transport_recv_busy_;
@@ -281,6 +288,8 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
// The service for retrieving Channel ID keys. May be NULL.
ChannelIDService* channel_id_service_;
+ bool tb_was_negotiated_;
+ TokenBindingParam tb_negotiated_param_;
// OpenSSL stuff
SSL* ssl_;
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698