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

Unified 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, 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 | « net/ssl/ssl_config.h ('k') | net/ssl/ssl_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_info.h
diff --git a/net/ssl/ssl_info.h b/net/ssl/ssl_info.h
index 28ce82d0ae6cb1ddf7a20f6ab9fd47dfe6075903..b18b5266c3e87331fbbb9ba2a124dc55c84b7de5 100644
--- a/net/ssl/ssl_info.h
+++ b/net/ssl/ssl_info.h
@@ -13,6 +13,7 @@
#include "net/cert/sct_status_flags.h"
#include "net/cert/x509_cert_types.h"
#include "net/ssl/signed_certificate_timestamp_and_status.h"
+#include "net/ssl/ssl_config.h"
namespace net {
@@ -82,6 +83,15 @@ class NET_EXPORT SSLInfo {
// True if a channel ID was sent to the server.
bool channel_id_sent;
+ // True if Token Binding was negotiated with the server and we agreed on a
+ // version and key params.
+ bool token_binding_negotiated;
+
+ // Only valid if |token_binding_negotiated| is true. Contains the key param
+ // negotiated by the client and server in the Token Binding Negotiation TLS
+ // extension.
+ TokenBindingParam token_binding_key_param;
+
HandshakeType handshake_type;
// The hashes, in several algorithms, of the SubjectPublicKeyInfos from
« no previous file with comments | « net/ssl/ssl_config.h ('k') | net/ssl/ssl_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698