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

Side by Side Diff: chrome/common/extensions/api/enterprise_platform_keys_internal.idl

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to WebCrypto like API. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 // Internal API for platform keys and certificate management.
6 [ nodoc = true,
7 platforms = ("chromeos"),
8 implemented_in = "chrome/browser/extensions/api/enterprise_platform_keys/enter prise_platform_keys_api.h" ]
9 namespace enterprise.platformKeysInternal {
10 callback GetTokensCallback = void(DOMString[] tokenIds);
11 callback GenerateKeyCallback = void(ArrayBuffer publicKey);
12 callback SignCallback = void(ArrayBuffer signature);
13 interface Functions {
14 static void getTokens(GetTokensCallback callback);
15 static void generateKey(DOMString tokenId, GenerateKeyCallback callback);
16 static void sign(DOMString tokenId,
17 ArrayBuffer publicKey,
18 ArrayBuffer data,
19 SignCallback callback);
not at google - send to devlin 2014/05/02 18:31:56 functions need comments
20 };
21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698