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

Unified Diff: net/ssl/token_binding_nss.cc

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/ssl/token_binding_nss.cc
diff --git a/net/ssl/token_binding_nss.cc b/net/ssl/token_binding_nss.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bb184981a0722b132184e130c8ead84580eef9f3
--- /dev/null
+++ b/net/ssl/token_binding_nss.cc
@@ -0,0 +1,39 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "token_binding.h"
+
+#include "net/base/net_errors.h"
+
+namespace net {
+
+Error BuildTokenBindingMessageFromTokenBindings(
+ const std::vector<base::StringPiece>& token_bindings,
+ std::string* out) {
+ NOTREACHED();
+ return ERR_NOT_IMPLEMENTED;
+}
+
+Error BuildProvidedTokenBinding(crypto::ECPrivateKey* key,
+ const std::vector<uint8_t>& ekm,
+ std::string* out) {
+ NOTREACHED();
+ return ERR_NOT_IMPLEMENTED;
+}
+
+bool ParseTokenBindingMessage(base::StringPiece token_binding_message,
+ base::StringPiece* ec_point,
+ base::StringPiece* signature) {
+ NOTREACHED();
+ return false;
+}
+
+bool VerifyEKMSignature(base::StringPiece ec_point,
+ base::StringPiece signature,
+ base::StringPiece ekm) {
+ NOTREACHED();
+ return false;
+}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698