Index: chrome/common/extensions/api/enterprise_platform_keys_internal.idl |
diff --git a/chrome/common/extensions/api/enterprise_platform_keys_internal.idl b/chrome/common/extensions/api/enterprise_platform_keys_internal.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e47da033387c7fcb2f9b7c981e76e2353b5ae08 |
--- /dev/null |
+++ b/chrome/common/extensions/api/enterprise_platform_keys_internal.idl |
@@ -0,0 +1,21 @@ |
+// Copyright 2014 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. |
+ |
+// Internal API for platform keys and certificate management. |
+[ nodoc = true, |
+ platforms = ("chromeos"), |
+ implemented_in = "chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h" ] |
+namespace enterprise.platformKeysInternal { |
+ callback GetTokensCallback = void(DOMString[] tokenIds); |
+ callback GenerateKeyCallback = void(ArrayBuffer publicKey); |
+ callback SignCallback = void(ArrayBuffer signature); |
+ interface Functions { |
+ static void getTokens(GetTokensCallback callback); |
+ static void generateKey(DOMString tokenId, GenerateKeyCallback callback); |
+ static void sign(DOMString tokenId, |
+ ArrayBuffer publicKey, |
+ ArrayBuffer data, |
+ SignCallback callback); |
not at google - send to devlin
2014/05/02 18:31:56
functions need comments
|
+ }; |
+}; |