OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 [ |
| 6 { |
| 7 "namespace": "enterprise.platformKeysPrivate", |
| 8 "nodoc": true, |
| 9 "platforms": ["chromeos"], |
| 10 "types": [], |
| 11 "functions": [ |
| 12 { |
| 13 "name": "challengeMachineKey", |
| 14 "type": "function", |
| 15 "description": "Challenge a machine key.", |
| 16 "parameters": [ |
| 17 { |
| 18 "type": "string", |
| 19 "name": "challenge", |
| 20 "description": "Challenge to be signed in base64." |
| 21 }, |
| 22 { |
| 23 "type": "function", |
| 24 "name": "callback", |
| 25 "description": "Callback function.", |
| 26 "parameters": [ |
| 27 { |
| 28 "name": "response", |
| 29 "description": "Response in base64.", |
| 30 "type": "string" |
| 31 } |
| 32 ] |
| 33 } |
| 34 ] |
| 35 }, |
| 36 { |
| 37 "name": "challengeUserKey", |
| 38 "type": "function", |
| 39 "description": "Challenge an user key.", |
| 40 "parameters": [ |
| 41 { |
| 42 "type": "string", |
| 43 "name": "challenge", |
| 44 "description": "Challenge to be signed in base64." |
| 45 }, |
| 46 { |
| 47 "type": "boolean", |
| 48 "name": "registerKey", |
| 49 "description": "If true, the key will be registered." |
| 50 }, |
| 51 { |
| 52 "type": "function", |
| 53 "name": "callback", |
| 54 "description": "Callback function.", |
| 55 "parameters": [ |
| 56 { |
| 57 "name": "response", |
| 58 "description": "Response in base64.", |
| 59 "type": "string" |
| 60 } |
| 61 ] |
| 62 } |
| 63 ] |
| 64 } |
| 65 ] |
| 66 } |
| 67 ] |
OLD | NEW |