Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
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 nsINSSCertCache;
11 interface nsIX509Cert;
13 [scriptable, uuid(d0180863-606e-49e6-8324-cf45ed4dd891)]
14 interface nsICertTreeItem : nsISupports {
15 readonly attribute nsIX509Cert cert;
16 readonly attribute AString hostPort;
17 };
19 [scriptable, uuid(a8cd1c89-a901-4735-831b-7198b7b8b6b1)]
20 interface nsICertTree : nsITreeView {
22 void loadCerts(in unsigned long type);
23 void loadCertsFromCache(in nsINSSCertCache cache, in unsigned long type);
25 nsIX509Cert getCert(in unsigned long index);
26 nsICertTreeItem getTreeItem(in unsigned long index);
27 boolean isHostPortOverride(in unsigned long index);
29 void deleteEntryObject(in unsigned long index);
30 };
32 %{C++
34 #define NS_CERTTREE_CID { 0x4ea60761, 0x31d6, 0x491d, \
35 { 0x9e, 0x34, 0x4b, 0x53, 0xa2, 0x6c, 0x41, 0x6c } }
37 #define NS_CERTTREE_CONTRACTID "@mozilla.org/security/nsCertTree;1"
39 %}