security/manager/pki/nsIASN1Tree.idl
author Csoregi Natalia <ncsoregi@mozilla.com>
Mon, 16 May 2022 16:31:16 +0300
changeset 617706 ddbf2ba9acc3bdfe51595b2ee9943c30b25d1338
parent 360747 a184b592cfa3de4c151181b769f900b054885194
permissions -rw-r--r--
Backed out changeset a04e5744fe2e (bug 1758540) for causing bug 1769510. a=backout

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"
#include "nsITreeView.idl"
#include "nsIX509Cert.idl"

[scriptable, uuid(de142307-7b88-4e0a-b232-250f310e25d8)]
interface nsIASN1Tree : nsITreeView {
  [must_use]
  void loadASN1Structure(in nsIASN1Object asn1Object);

  [must_use]
  AString getDisplayData(in unsigned long index);
};

%{C++

#define NS_ASN1TREE_CONTRACTID "@mozilla.org/security/nsASN1Tree;1"

%}