blob: 9e2c38988be02157da38d0eb1c0a80391973594c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// 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 {
bool IsTokenBindingSupported() {
return false;
}
bool SignTokenBindingEkm(base::StringPiece ekm,
crypto::ECPrivateKey* key,
std::vector<uint8_t>* out) {
return false;
}
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
|