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

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

Issue 1822303002: [Extensions] Convert APIs to use movable types [4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Istiaque's Created 4 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.enterprise.platformKeys</code> API to generate 5 // Use the <code>chrome.enterprise.platformKeys</code> API to generate
6 // hardware-backed keys and to install certificates for these keys. The 6 // hardware-backed keys and to install certificates for these keys. The
7 // certificates will be managed by the platform and can be used for TLS 7 // certificates will be managed by the platform and can be used for TLS
8 // authentication, network access or by other extension through 8 // authentication, network access or by other extension through
9 // $(ref:platformKeys chrome.platformKeys). 9 // $(ref:platformKeys chrome.platformKeys).
10 [platforms = ("chromeos")] 10 [platforms = ("chromeos"), use_movable_types=true]
11 namespace enterprise.platformKeys { 11 namespace enterprise.platformKeys {
12 [nocompile, noinline_doc] dictionary Token { 12 [nocompile, noinline_doc] dictionary Token {
13 // Uniquely identifies this <code>Token</code>. 13 // Uniquely identifies this <code>Token</code>.
14 // <p>Static IDs are <code>"user"</code> and <code>"system"</code>, 14 // <p>Static IDs are <code>"user"</code> and <code>"system"</code>,
15 // referring to the platform's user-specific and the system-wide hardware 15 // referring to the platform's user-specific and the system-wide hardware
16 // token, respectively. Any other tokens (with other identifiers) might be 16 // token, respectively. Any other tokens (with other identifiers) might be
17 // returned by $(ref:enterprise.platformKeys.getTokens).</p> 17 // returned by $(ref:enterprise.platformKeys.getTokens).</p>
18 DOMString id; 18 DOMString id;
19 19
20 // Implements the WebCrypto's 20 // Implements the WebCrypto's
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // Enterprise User Key role. The key can then be associated 141 // Enterprise User Key role. The key can then be associated
142 // with a certificate and used like any other signing key. 142 // with a certificate and used like any other signing key.
143 // This key is 2048-bit RSA. Subsequent calls to this 143 // This key is 2048-bit RSA. Subsequent calls to this
144 // function will then generate a new Enterprise User Key. 144 // function will then generate a new Enterprise User Key.
145 // |callback|: Called back with the challenge response. 145 // |callback|: Called back with the challenge response.
146 static void challengeUserKey(ArrayBuffer challenge, 146 static void challengeUserKey(ArrayBuffer challenge,
147 boolean registerKey, 147 boolean registerKey,
148 ChallengeCallback callback); 148 ChallengeCallback callback);
149 }; 149 };
150 }; 150 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698