security/manager/ssl/public/nsIX509CertList.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 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #include "nsISupports.idl"
     7 interface nsISimpleEnumerator;
     8 interface nsIX509Cert;
    10 [scriptable, uuid(a539759b-e22d-462f-94ea-2915b11b33e8)]
    11 interface nsIX509CertList : nsISupports {
    12    void addCert(in nsIX509Cert cert);
    13    void deleteCert(in nsIX509Cert cert);
    14    nsISimpleEnumerator getEnumerator();
    16    /* getRawCertList MUST be called only from functions where
    17     * the nssShutdownPreventionLock has been adquired.
    18     */
    19    [notxpcom, noscript] voidPtr getRawCertList();
    21 };
    23 %{C++
    25 #define NS_X509CERTLIST_CID { /* 959fb165-6517-487f-ab9b-d8913be53197 */  \
    26     0x959fb165,                                                           \
    27     0x6517,                                                               \
    28     0x487f,                                                               \
    29     {0xab, 0x9b, 0xd8, 0x91, 0x3b, 0xe5, 0x31, 0x97}                      \
    30   }
    32 #define NS_X509CERTLIST_CONTRACTID "@mozilla.org/security/x509certlist;1"
    34 %}

mercurial