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

Side by Side Diff: net/ssl/token_binding.h

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: rebase Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SSL_TOKEN_BINDING_H_
6 #define NET_SSL_TOKEN_BINDING_H_
7
8 #include <string>
9 #include <vector>
10
11 namespace net {
12
13 // Given a vector of serialized TokenBinding structs (as defined in
14 // draft-ietf-tokbind-protocol-02), this function combines them to form the
15 // serialized TokenBindingMessage struct in |*out|. This function returns a net
16 // error.
17 //
18 // struct {
19 // TokenBinding tokenbindings<0..2^16-1>;
20 // } TokenBindingMessage;
21 int BuildTokenBindingMessageFromTokenBindings(
22 const std::vector<std::string>& token_bindings,
23 std::string* out);
24
25 } // namespace net
26
27 #endif // NET_SSL_TOKEN_BINDING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698