security/manager/ssl/public/nsICertTree.idl

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
michael@0 2 *
michael@0 3 * This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 6
michael@0 7 #include "nsISupports.idl"
michael@0 8 #include "nsITreeView.idl"
michael@0 9
michael@0 10 interface nsINSSCertCache;
michael@0 11 interface nsIX509Cert;
michael@0 12
michael@0 13 [scriptable, uuid(d0180863-606e-49e6-8324-cf45ed4dd891)]
michael@0 14 interface nsICertTreeItem : nsISupports {
michael@0 15 readonly attribute nsIX509Cert cert;
michael@0 16 readonly attribute AString hostPort;
michael@0 17 };
michael@0 18
michael@0 19 [scriptable, uuid(a8cd1c89-a901-4735-831b-7198b7b8b6b1)]
michael@0 20 interface nsICertTree : nsITreeView {
michael@0 21
michael@0 22 void loadCerts(in unsigned long type);
michael@0 23 void loadCertsFromCache(in nsINSSCertCache cache, in unsigned long type);
michael@0 24
michael@0 25 nsIX509Cert getCert(in unsigned long index);
michael@0 26 nsICertTreeItem getTreeItem(in unsigned long index);
michael@0 27 boolean isHostPortOverride(in unsigned long index);
michael@0 28
michael@0 29 void deleteEntryObject(in unsigned long index);
michael@0 30 };
michael@0 31
michael@0 32 %{C++
michael@0 33
michael@0 34 #define NS_CERTTREE_CID { 0x4ea60761, 0x31d6, 0x491d, \
michael@0 35 { 0x9e, 0x34, 0x4b, 0x53, 0xa2, 0x6c, 0x41, 0x6c } }
michael@0 36
michael@0 37 #define NS_CERTTREE_CONTRACTID "@mozilla.org/security/nsCertTree;1"
michael@0 38
michael@0 39 %}
michael@0 40

mercurial