| 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 bool IsTokenBindingSupported() { | |
| 12 return false; | |
| 13 } | |
| 14 | |
| 15 bool SignTokenBindingEkm(base::StringPiece ekm, | |
| 16 crypto::ECPrivateKey* key, | |
| 17 std::vector<uint8_t>* out) { | |
| 18 return false; | |
| 19 } | |
| 20 | |
| 21 Error BuildTokenBindingMessageFromTokenBindings( | |
| 22 const std::vector<base::StringPiece>& token_bindings, | |
| 23 std::string* out) { | |
| 24 NOTREACHED(); | |
| 25 return ERR_NOT_IMPLEMENTED; | |
| 26 } | |
| 27 | |
| 28 Error BuildTokenBinding(TokenBindingType type, | |
| 29 crypto::ECPrivateKey* key, | |
| 30 const std::vector<uint8_t>& ekm, | |
| 31 std::string* out) { | |
| 32 NOTREACHED(); | |
| 33 return ERR_NOT_IMPLEMENTED; | |
| 34 } | |
| 35 | |
| 36 TokenBinding::TokenBinding() {} | |
| 37 | |
| 38 bool ParseTokenBindingMessage(base::StringPiece token_binding_message, | |
| 39 std::vector<TokenBinding>* token_bindings) { | |
| 40 NOTREACHED(); | |
| 41 return false; | |
| 42 } | |
| 43 | |
| 44 bool VerifyEKMSignature(base::StringPiece ec_point, | |
| 45 base::StringPiece signature, | |
| 46 base::StringPiece ekm) { | |
| 47 NOTREACHED(); | |
| 48 return false; | |
| 49 } | |
| 50 | |
| 51 } // namespace net | |
| OLD | NEW |