security/manager/ssl/public/nsIX509Cert2.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.

     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 "nsIX509Cert.idl"
     9 interface nsIArray;
    10 interface nsIASN1Object;
    12 %{ C++
    13  /* forward declaration */
    14  typedef struct CERTCertificateStr CERTCertificate;
    15 %}
    16 [ptr] native CERTCertificatePtr(CERTCertificate);
    18 /**
    19  * This represents additional interfaces to X.509 certificates
    20  */
    21 [scriptable, uuid(5b62c61c-f898-4dab-8ace-51109bb459b4)]
    22 interface nsIX509Cert2 : nsIX509Cert {
    23   /**
    24    *  Additional constants to classify the type of a certificate.
    25    */
    26   const unsigned long ANY_CERT  = 0xffff;
    27   readonly attribute unsigned long certType;
    28   void markForPermDeletion();
    29   [notxpcom, noscript] CERTCertificatePtr getCert();
    30 };

mercurial