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

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #include "nsISupports.idl"
michael@0 6
michael@0 7 interface nsIX509CertList;
michael@0 8
michael@0 9 [scriptable, uuid(1b75bdae-1757-4322-9d1e-cfcaa18cb710)]
michael@0 10 interface nsINSSCertCache : nsISupports {
michael@0 11
michael@0 12 /*
michael@0 13 * cacheAllCerts
michael@0 14 *
michael@0 15 * Creates a cache of all certificates currently known to NSS.
michael@0 16 */
michael@0 17 void cacheAllCerts();
michael@0 18 void cacheCertList(in nsIX509CertList list);
michael@0 19
michael@0 20 /*
michael@0 21 * get an X509CertList
michael@0 22 */
michael@0 23 nsIX509CertList getX509CachedCerts();
michael@0 24
michael@0 25 /*
michael@0 26 * getCachedCerts
michael@0 27 *
michael@0 28 * Returns the cached CERTCertList*
michael@0 29 */
michael@0 30 [notxpcom, noscript] voidPtr getCachedCerts();
michael@0 31 };
michael@0 32
michael@0 33 %{C++
michael@0 34
michael@0 35 #define NS_NSSCERTCACHE_CID { /* 3f429a14-dffe-417d-8cb8-fdf09bacd09e */ \
michael@0 36 0x3f429a14, \
michael@0 37 0xdffe, \
michael@0 38 0x417d, \
michael@0 39 {0x8c, 0xb8, 0xfd, 0xf0, 0x9b, 0xac, 0xd0, 0x9e} \
michael@0 40 }
michael@0 41
michael@0 42 #define NS_NSSCERTCACHE_CONTRACTID "@mozilla.org/security/nsscertcache;1"
michael@0 43
michael@0 44 %}

mercurial