security/manager/ssl/public/nsINSSCertCache.idl

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:269d765c773f
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/. */
4
5 #include "nsISupports.idl"
6
7 interface nsIX509CertList;
8
9 [scriptable, uuid(1b75bdae-1757-4322-9d1e-cfcaa18cb710)]
10 interface nsINSSCertCache : nsISupports {
11
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);
19
20 /*
21 * get an X509CertList
22 */
23 nsIX509CertList getX509CachedCerts();
24
25 /*
26 * getCachedCerts
27 *
28 * Returns the cached CERTCertList*
29 */
30 [notxpcom, noscript] voidPtr getCachedCerts();
31 };
32
33 %{C++
34
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 }
41
42 #define NS_NSSCERTCACHE_CONTRACTID "@mozilla.org/security/nsscertcache;1"
43
44 %}

mercurial