Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: chrome/common/extensions/api/enterprise_platform_keys_private.json

Issue 13132004: Implement Enterprise Key API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/enterprise_platform_keys_private.json
diff --git a/chrome/common/extensions/api/enterprise_platform_keys_private.json b/chrome/common/extensions/api/enterprise_platform_keys_private.json
new file mode 100644
index 0000000000000000000000000000000000000000..74b9db1899c507e9f8f3b4329a4659acd4ef4b67
--- /dev/null
+++ b/chrome/common/extensions/api/enterprise_platform_keys_private.json
@@ -0,0 +1,72 @@
+// 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",
+ "nodoc": true,
+ "platforms": ["chromeos"],
+ "types": [],
+ "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"
+ },
+ {
+ "name": "publicKey",
+ "description": "If registerKey is true, the public key will be returned in base64.",
+ "type": "string"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698