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

Unified Diff: net/spdy/spdy_session.h

Issue 2337253004: Update Token Binding code to the latest drafts (Closed)
Patch Set: Fix compilation error in unit_tests Created 4 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 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 0e0d08b80fc42af857c97763832f1a7e30fa4dcb..e3f03317c62b8561417395d1b65466ba7365e4f7 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -417,8 +417,12 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
// Signs the EKM value for Token Binding from the TLS layer using |*key| and
// puts the result in |*out|. Returns OK or ERR_FAILED.
davidben 2016/09/19 21:24:14 Did you mean to remove the old comment?
nharper 2016/09/19 22:32:23 Yes. Removed.
- Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
- std::vector<uint8_t>* out);
+ // Generates the signature used in Token Binding using |*key| and for a Token
+ // Binding of type |tb_type|, putting the signature in |*out|. Returns a net
+ // error code.
+ Error GetTokenBindingSignature(crypto::ECPrivateKey* key,
+ TokenBindingType tb_type,
+ std::vector<uint8_t>* out);
// Send a WINDOW_UPDATE frame for a stream. Called by a stream
// whenever receive window size is increased.

Powered by Google App Engine
This is Rietveld 408576698