1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef PKCS11ModuleDB_h
7 #define PKCS11ModuleDB_h
9 #include "nsIPKCS11ModuleDB.h"
10 #include "nsTLiteralString.h"
15 #define NS_PKCS11MODULEDB_CID \
17 0xff9fbcd7, 0x9517, 0x4334, { \
18 0xb9, 0x7a, 0xce, 0xed, 0x78, 0x90, 0x99, 0x74 \
22 class PKCS11ModuleDB
: public nsIPKCS11ModuleDB
{
24 PKCS11ModuleDB() = default;
27 NS_DECL_NSIPKCS11MODULEDB
30 virtual ~PKCS11ModuleDB() = default;
33 const nsLiteralCString
kIPCClientCertsModuleName("IPC Client Cert Module");
34 const nsLiteralCString
kNSSInternalModuleName("NSS Internal PKCS #11 Module");
35 const nsLiteralCString
kOSClientCertsModuleName("OS Client Cert Module");
36 const nsLiteralCString
kRootModuleName("Builtin Roots Module");
38 void CollectThirdPartyPKCS11ModuleTelemetry();
41 } // namespace mozilla
43 #endif // PKCS11ModuleDB_h