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

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

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to OO-style API with Token object. 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 implemented_in="chrome/browser/extensions/api/enterprise_certificates/enterpris e_certificates_internal_api.h"]
8 namespace enterprise.certificatesInternal {
9 callback DoneCallback = void ();
10 callback GetClientCertificatesCallback = void(ArrayBuffer[] certificates);
11 callback GetTokensCallback = void (DOMString[] tokenNames);
12 interface Functions {
13 static void importClientCertificateAndRawKey(
14 ArrayBuffer key,
15 ArrayBuffer certificate,
16 DOMString tokenName,
17 optional DoneCallback callback);
18 [nocompile] static void importClientCertificateAndWebCryptoKey(
19 [instanceOf=Key] object key,
20 ArrayBuffer certificate,
21 DOMString tokenName,
22 optional DoneCallback callback);
23 static void getClientCertificates(DOMString tokenName,
24 GetClientCertificatesCallback callback);
25 static void getTokens(GetTokensCallback callback);
26 };
27 };
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698