OLD | NEW |
(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 #include "token_binding.h" |
| 6 |
| 7 #include "net/base/net_errors.h" |
| 8 |
| 9 namespace net { |
| 10 |
| 11 int BuildTokenBindingMessageFromTokenBindings( |
| 12 const std::vector<std::string>& token_bindings, |
| 13 std::string* out) { |
| 14 NOTREACHED(); |
| 15 return ERR_NOT_IMPLEMENTED; |
| 16 } |
| 17 |
| 18 int BuildProvidedTokenBinding(crypto::ECPrivateKey* key, |
| 19 const std::vector<uint8_t>& ekm, |
| 20 std::string* out) { |
| 21 NOTREACHED(); |
| 22 return ERR_NOT_IMPLEMENTED; |
| 23 } |
| 24 |
| 25 bool ParseTokenBindingMessage(const std::string& token_binding_message, |
| 26 std::string* ec_point, |
| 27 std::string* signature) { |
| 28 NOTREACHED(); |
| 29 return false; |
| 30 } |
| 31 |
| 32 bool VerifyEKMSignature(const std::string& ec_point, |
| 33 const std::string& signature, |
| 34 const std::string& ekm) { |
| 35 NOTREACHED(); |
| 36 return false; |
| 37 } |
| 38 |
| 39 } // namespace net |
OLD | NEW |