This file is indexed.

/usr/include/thunderbird/nsIPKCS11ModuleDB.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.

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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIPKCS11ModuleDB.idl
 */

#ifndef __gen_nsIPKCS11ModuleDB_h__
#define __gen_nsIPKCS11ModuleDB_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 nsIPKCS11Module; /* forward declaration */

class nsIPKCS11Slot; /* forward declaration */

class nsIEnumerator; /* forward declaration */

#define NS_PKCS11MODULEDB_CONTRACTID "@mozilla.org/security/pkcs11moduledb;1"

/* starting interface:    nsIPKCS11ModuleDB */
#define NS_IPKCS11MODULEDB_IID_STR "ff9fbcd7-9517-4334-b97a-ceed78909974"

#define NS_IPKCS11MODULEDB_IID \
  {0xff9fbcd7, 0x9517, 0x4334, \
    { 0xb9, 0x7a, 0xce, 0xed, 0x78, 0x90, 0x99, 0x74 }}

class NS_NO_VTABLE nsIPKCS11ModuleDB : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPKCS11MODULEDB_IID)

  /* nsIPKCS11Module getInternal (); */
  NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval) = 0;

  /* nsIPKCS11Module getInternalFIPS (); */
  NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval) = 0;

  /* nsIPKCS11Module findModuleByName (in wstring name); */
  NS_IMETHOD FindModuleByName(const char16_t * name, nsIPKCS11Module * *_retval) = 0;

  /* nsIPKCS11Slot findSlotByName (in wstring name); */
  NS_IMETHOD FindSlotByName(const char16_t * name, nsIPKCS11Slot * *_retval) = 0;

  /* nsIEnumerator listModules (); */
  NS_IMETHOD ListModules(nsIEnumerator * *_retval) = 0;

  /* readonly attribute boolean canToggleFIPS; */
  NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) = 0;

  /* void toggleFIPSMode (); */
  NS_IMETHOD ToggleFIPSMode(void) = 0;

  /* readonly attribute boolean isFIPSEnabled; */
  NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIPKCS11ModuleDB, NS_IPKCS11MODULEDB_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPKCS11MODULEDB \
  NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval) override; \
  NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval) override; \
  NS_IMETHOD FindModuleByName(const char16_t * name, nsIPKCS11Module * *_retval) override; \
  NS_IMETHOD FindSlotByName(const char16_t * name, nsIPKCS11Slot * *_retval) override; \
  NS_IMETHOD ListModules(nsIEnumerator * *_retval) override; \
  NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) override; \
  NS_IMETHOD ToggleFIPSMode(void) override; \
  NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPKCS11MODULEDB(_to) \
  NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval) override { return _to GetInternal(_retval); } \
  NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval) override { return _to GetInternalFIPS(_retval); } \
  NS_IMETHOD FindModuleByName(const char16_t * name, nsIPKCS11Module * *_retval) override { return _to FindModuleByName(name, _retval); } \
  NS_IMETHOD FindSlotByName(const char16_t * name, nsIPKCS11Slot * *_retval) override { return _to FindSlotByName(name, _retval); } \
  NS_IMETHOD ListModules(nsIEnumerator * *_retval) override { return _to ListModules(_retval); } \
  NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) override { return _to GetCanToggleFIPS(aCanToggleFIPS); } \
  NS_IMETHOD ToggleFIPSMode(void) override { return _to ToggleFIPSMode(); } \
  NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) override { return _to GetIsFIPSEnabled(aIsFIPSEnabled); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIPKCS11MODULEDB(_to) \
  NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInternal(_retval); } \
  NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInternalFIPS(_retval); } \
  NS_IMETHOD FindModuleByName(const char16_t * name, nsIPKCS11Module * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindModuleByName(name, _retval); } \
  NS_IMETHOD FindSlotByName(const char16_t * name, nsIPKCS11Slot * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindSlotByName(name, _retval); } \
  NS_IMETHOD ListModules(nsIEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ListModules(_retval); } \
  NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanToggleFIPS(aCanToggleFIPS); } \
  NS_IMETHOD ToggleFIPSMode(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToggleFIPSMode(); } \
  NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFIPSEnabled(aIsFIPSEnabled); } 

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

/* Header file */
class nsPKCS11ModuleDB : public nsIPKCS11ModuleDB
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPKCS11MODULEDB

  nsPKCS11ModuleDB();

private:
  ~nsPKCS11ModuleDB();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsPKCS11ModuleDB, nsIPKCS11ModuleDB)

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

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

/* nsIPKCS11Module getInternal (); */
NS_IMETHODIMP nsPKCS11ModuleDB::GetInternal(nsIPKCS11Module * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIPKCS11Module getInternalFIPS (); */
NS_IMETHODIMP nsPKCS11ModuleDB::GetInternalFIPS(nsIPKCS11Module * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIPKCS11Module findModuleByName (in wstring name); */
NS_IMETHODIMP nsPKCS11ModuleDB::FindModuleByName(const char16_t * name, nsIPKCS11Module * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIPKCS11Slot findSlotByName (in wstring name); */
NS_IMETHODIMP nsPKCS11ModuleDB::FindSlotByName(const char16_t * name, nsIPKCS11Slot * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIEnumerator listModules (); */
NS_IMETHODIMP nsPKCS11ModuleDB::ListModules(nsIEnumerator * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean canToggleFIPS; */
NS_IMETHODIMP nsPKCS11ModuleDB::GetCanToggleFIPS(bool *aCanToggleFIPS)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void toggleFIPSMode (); */
NS_IMETHODIMP nsPKCS11ModuleDB::ToggleFIPSMode()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isFIPSEnabled; */
NS_IMETHODIMP nsPKCS11ModuleDB::GetIsFIPSEnabled(bool *aIsFIPSEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIPKCS11ModuleDB_h__ */