Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / api / enterprise_platform_keys_private.json
blob5b77df6dca3d4f0c46bf78fde5aa9563c94765e4
1 // Copyright (c) 2013 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.
6   {
7     "namespace": "enterprise.platformKeysPrivate",
8     "description": "none",
9     "functions": [
10       {
11         "name": "challengeMachineKey",
12         "type": "function",
13         "description": "Challenge a machine key.",
14         "parameters": [
15           {
16             "type": "string",
17             "name": "challenge",
18             "description": "Challenge to be signed in base64."
19           },
20           {
21             "type": "function",
22             "name": "callback",
23             "description": "Callback function.",
24             "parameters": [
25               {
26                 "name": "response",
27                 "description": "Response in base64.",
28                 "type": "string"
29               }
30             ]
31           }
32         ]
33       },
34       {
35         "name": "challengeUserKey",
36         "type": "function",
37         "description": "Challenge an user key.",
38         "parameters": [
39           {
40             "type": "string",
41             "name": "challenge",
42             "description": "Challenge to be signed in base64."
43           },
44           {
45             "type": "boolean",
46             "name": "registerKey",
47             "description": "If true, the key will be registered."
48           },
49           {
50             "type": "function",
51             "name": "callback",
52             "description": "Callback function.",
53             "parameters": [
54               {
55                 "name": "response",
56                 "description": "Response in base64.",
57                 "type": "string"
58               }
59             ]
60           }
61         ]
62       }
63     ]
64   }