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

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: Remove sequence numbers from mock reads 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 efab1b84433d7504b64ec033ae58fb33e9a7b5c7..491766eca5227abce8adb87a903f8a59df5662f5 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -357,6 +357,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.
+ Error 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