This file is indexed.

/usr/include/thunderbird-11.0.1/nsINSSCertCache.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/security/manager/ssl/public/nsINSSCertCache.idl
 */

#ifndef __gen_nsINSSCertCache_h__
#define __gen_nsINSSCertCache_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIX509CertList; /* forward declaration */


/* starting interface:    nsINSSCertCache */
#define NS_INSSCERTCACHE_IID_STR "1b75bdae-1757-4322-9d1e-cfcaa18cb710"

#define NS_INSSCERTCACHE_IID \
  {0x1b75bdae, 0x1757, 0x4322, \
    { 0x9d, 0x1e, 0xcf, 0xca, 0xa1, 0x8c, 0xb7, 0x10 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsINSSCertCache : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INSSCERTCACHE_IID)

  /* void cacheAllCerts (); */
  NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void) = 0;

  /* void cacheCertList (in nsIX509CertList list); */
  NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list) = 0;

  /* nsIX509CertList getX509CachedCerts (); */
  NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM) = 0;

  /* [noscript,notxpcom] voidPtr getCachedCerts (); */
  NS_IMETHOD_(void *) GetCachedCerts(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINSSCertCache, NS_INSSCERTCACHE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINSSCERTCACHE \
  NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void); \
  NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list); \
  NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM); \
  NS_IMETHOD_(void *) GetCachedCerts(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINSSCERTCACHE(_to) \
  NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void) { return _to CacheAllCerts(); } \
  NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list) { return _to CacheCertList(list); } \
  NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM) { return _to GetX509CachedCerts(_retval); } \
  NS_IMETHOD_(void *) GetCachedCerts(void) { return _to GetCachedCerts(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINSSCERTCACHE(_to) \
  NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CacheAllCerts(); } \
  NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list) { return !_to ? NS_ERROR_NULL_POINTER : _to->CacheCertList(list); } \
  NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX509CachedCerts(_retval); } \
  NS_IMETHOD_(void *) GetCachedCerts(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCachedCerts(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsNSSCertCache : public nsINSSCertCache
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINSSCERTCACHE

  nsNSSCertCache();

private:
  ~nsNSSCertCache();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsNSSCertCache, nsINSSCertCache)

nsNSSCertCache::nsNSSCertCache()
{
  /* member initializers and constructor code */
}

nsNSSCertCache::~nsNSSCertCache()
{
  /* destructor code */
}

/* void cacheAllCerts (); */
NS_IMETHODIMP nsNSSCertCache::CacheAllCerts()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void cacheCertList (in nsIX509CertList list); */
NS_IMETHODIMP nsNSSCertCache::CacheCertList(nsIX509CertList *list)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIX509CertList getX509CachedCerts (); */
NS_IMETHODIMP nsNSSCertCache::GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript,notxpcom] voidPtr getCachedCerts (); */
NS_IMETHODIMP_(void *) nsNSSCertCache::GetCachedCerts()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#define NS_NSSCERTCACHE_CID { /* 3f429a14-dffe-417d-8cb8-fdf09bacd09e */ \
    0x3f429a14,                                                          \
    0xdffe,                                                              \
    0x417d,                                                              \
    {0x8c, 0xb8, 0xfd, 0xf0, 0x9b, 0xac, 0xd0, 0x9e}                     \
  }
#define NS_NSSCERTCACHE_CONTRACTID "@mozilla.org/security/nsscertcache;1"

#endif /* __gen_nsINSSCertCache_h__ */