security/manager/ssl/public/nsINSSCertCache.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 nsIX509CertList;
     9 [scriptable, uuid(1b75bdae-1757-4322-9d1e-cfcaa18cb710)]
    10 interface nsINSSCertCache : nsISupports {
    12   /*
    13    * cacheAllCerts
    14    *
    15    * Creates a cache of all certificates currently known to NSS.
    16    */
    17   void cacheAllCerts();
    18   void cacheCertList(in nsIX509CertList list); 
    20   /*
    21    * get an X509CertList
    22    */
    23   nsIX509CertList getX509CachedCerts();
    25   /*
    26    * getCachedCerts
    27    *
    28    * Returns the cached CERTCertList*
    29    */
    30   [notxpcom, noscript] voidPtr getCachedCerts();
    31 };
    33 %{C++
    35 #define NS_NSSCERTCACHE_CID { /* 3f429a14-dffe-417d-8cb8-fdf09bacd09e */ \
    36     0x3f429a14,                                                          \
    37     0xdffe,                                                              \
    38     0x417d,                                                              \
    39     {0x8c, 0xb8, 0xfd, 0xf0, 0x9b, 0xac, 0xd0, 0x9e}                     \
    40   }
    42 #define NS_NSSCERTCACHE_CONTRACTID "@mozilla.org/security/nsscertcache;1"
    44 %}

mercurial