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 // 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 enum TokenType { |
| 10 // Refers to the token of the user. |
| 11 user, |
| 12 // Refers to the token of the device, which is available in all sessions. |
| 13 device |
| 14 }; |
| 15 |
| 16 callback DoneCallback = void (); |
| 17 interface Functions { |
| 18 static void importClientCertificate( |
| 19 ArrayBuffer key, |
| 20 ArrayBuffer certificate, |
| 21 TokenType token, |
| 22 optional DoneCallback callback); |
| 23 }; |
| 24 }; |
| 25 |
OLD | NEW |