1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include
"nsISupports.idl"
8 #include
"nsITreeView.idl"
10 interface nsIX509Cert
;
12 [scriptable
, uuid(d0180863
-606e-49e6
-8324-cf45ed4dd891
)]
13 interface nsICertTreeItem
: nsISupports
{
15 readonly attribute nsIX509Cert cert
;
18 [scriptable
, uuid(55d5ad6b
-5572-47fe
-941c
-f01fe723659e
)]
19 interface nsICertTree
: nsITreeView
{
21 void loadCertsFromCache
(in Array
<nsIX509Cert
> cache
, in unsigned long type
);
24 nsIX509Cert getCert
(in unsigned long index
);
26 nsICertTreeItem getTreeItem
(in unsigned long index
);
29 void deleteEntryObject
(in unsigned long index
);