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

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

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow import of non-extractable keys. Created 6 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 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 // API for certificate management.
6 [nodoc=true, platforms=("chromeos")]
7 namespace enterprise.certificates {
8 enum TokenType {
9 // Refers to the token of the user.
10 user,
11 // Refers to the token of the device, which is available in all sessions.
12 device
13 };
14
15 callback DoneCallback = void ();
16 callback GetClientCertificatesCallback =
17 void (ArrayBuffer[] certificates);
18 interface Functions {
19 [nocompile] static void importClientCertificate(
20 [instanceOf=Key] object key,
21 ArrayBuffer certificate,
22 TokenType token,
23 optional DoneCallback callback);
24 };
25 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698