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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
// Copyright (c) 2013 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.
[
{
"namespace": "enterprise.platformKeysPrivate",
"description": "none",
"platforms": ["chromeos"],
"functions": [
{
"name": "challengeMachineKey",
"type": "function",
"description": "Challenge a machine key.",
"parameters": [
{
"type": "string",
"name": "challenge",
"description": "Challenge to be signed in base64."
},
{
"type": "function",
"name": "callback",
"description": "Callback function.",
"parameters": [
{
"name": "response",
"description": "Response in base64.",
"type": "string"
}
]
}
]
},
{
"name": "challengeUserKey",
"type": "function",
"description": "Challenge an user key.",
"parameters": [
{
"type": "string",
"name": "challenge",
"description": "Challenge to be signed in base64."
},
{
"type": "boolean",
"name": "registerKey",
"description": "If true, the key will be registered."
},
{
"type": "function",
"name": "callback",
"description": "Callback function.",
"parameters": [
{
"name": "response",
"description": "Response in base64.",
"type": "string"
}
]
}
]
}
]
}
]
|