Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / security / manager / ssl / nsIPKCS11ModuleDB.idl
blob9221fd26c6c56190a274e26737c7d921a6708941
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/. */
7 #include "nsISupports.idl"
9 interface nsIPKCS11Module;
10 interface nsIPKCS11Slot;
11 interface nsISimpleEnumerator;
13 %{C++
14 #define NS_PKCS11MODULEDB_CONTRACTID "@mozilla.org/security/pkcs11moduledb;1"
17 [scriptable, uuid(ff9fbcd7-9517-4334-b97a-ceed78909974)]
18 interface nsIPKCS11ModuleDB : nsISupports
20 [must_use]
21 void deleteModule(in AString moduleName);
23 [must_use]
24 void addModule(in AString moduleName,
25 in AString libraryFullPath,
26 in long cryptoMechanismFlags,
27 in long cipherFlags);
29 [must_use]
30 nsISimpleEnumerator listModules();
32 [must_use]
33 readonly attribute boolean canToggleFIPS;
35 [must_use]
36 void toggleFIPSMode();
38 [must_use]
39 readonly attribute boolean isFIPSEnabled;