security/manager/ssl/public/nsIPKCS11ModuleDB.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     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 nsIEnumerator;
    13 %{C++
    14 #define NS_PKCS11MODULEDB_CONTRACTID "@mozilla.org/security/pkcs11moduledb;1"
    15 %}
    17 [scriptable, uuid(ff9fbcd7-9517-4334-b97a-ceed78909974)]
    18 interface nsIPKCS11ModuleDB : nsISupports
    19 {
    20   nsIPKCS11Module getInternal();
    22   nsIPKCS11Module getInternalFIPS();
    24   nsIPKCS11Module findModuleByName(in wstring name);
    26   nsIPKCS11Slot findSlotByName(in wstring name);
    28   nsIEnumerator listModules();
    30   readonly attribute boolean canToggleFIPS;
    32   void toggleFIPSMode();
    34   readonly attribute boolean isFIPSEnabled;
    35 };

mercurial