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 Error BuildTokenBindingMessageFromTokenBindings( |
| 12 const std::vector<base::StringPiece>& token_bindings, |
| 13 std::string* out) { |
| 14 NOTREACHED(); |
| 15 return ERR_NOT_IMPLEMENTED; |
| 16 } |
| 17 |
| 18 Error 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(base::StringPiece token_binding_message, |
| 26 base::StringPiece* ec_point, |
| 27 base::StringPiece* signature) { |
| 28 NOTREACHED(); |
| 29 return false; |
| 30 } |
| 31 |
| 32 bool VerifyEKMSignature(base::StringPiece ec_point, |
| 33 base::StringPiece signature, |
| 34 base::StringPiece ekm) { |
| 35 NOTREACHED(); |
| 36 return false; |
| 37 } |
| 38 |
| 39 } // namespace net |
OLD | NEW |