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

Unified Diff: net/spdy/spdy_session.h

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: fix build issues Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index b162875cda4aa19fcec8dd964b800afddd2099de..90c8584e304af938d8049d8a2166e23fb3a16aaa 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -364,6 +364,11 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
bool* was_npn_negotiated,
NextProto* protocol_negotiated);
+ // Signs the EKM value for Token Binding from the TLS layer using |*key| and
+ // puts the result in |*out|. Returns OK or ERR_FAILED.
+ int GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
+ std::vector<uint8_t>* out);
+
// Send a WINDOW_UPDATE frame for a stream. Called by a stream
// whenever receive window size is increased.
void SendStreamWindowUpdate(SpdyStreamId stream_id,

Powered by Google App Engine
This is Rietveld 408576698