OLD | NEW |
---|---|
(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 }; | |
OLD | NEW |