tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsICertTree.idl (903B)


      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/. */
      6 
      7 #include "nsISupports.idl"
      8 #include "nsITreeView.idl"
      9 
     10 interface nsIX509Cert;
     11 
     12 [scriptable, uuid(d0180863-606e-49e6-8324-cf45ed4dd891)]
     13 interface nsICertTreeItem : nsISupports {
     14  [must_use]
     15  readonly attribute nsIX509Cert cert;
     16 };
     17 
     18 [scriptable, uuid(55d5ad6b-5572-47fe-941c-f01fe723659e)]
     19 interface nsICertTree : nsITreeView {
     20  [must_use]
     21  void loadCertsFromCache(in Array<nsIX509Cert> cache, in unsigned long type);
     22 
     23  [must_use]
     24  nsIX509Cert getCert(in unsigned long index);
     25  [must_use]
     26  nsICertTreeItem getTreeItem(in unsigned long index);
     27 
     28  [must_use]
     29  void deleteEntryObject(in unsigned long index);
     30 };