|
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/. */ |
|
6 |
|
7 #include "nsISupports.idl" |
|
8 |
|
9 interface nsIPKCS11Slot; |
|
10 interface nsIEnumerator; |
|
11 |
|
12 [scriptable, uuid(8a44bdf9-d1a5-4734-bd5a-34ed7fe564c2)] |
|
13 interface nsIPKCS11Module : nsISupports |
|
14 { |
|
15 |
|
16 readonly attribute wstring name; |
|
17 readonly attribute wstring libName; |
|
18 |
|
19 nsIPKCS11Slot findSlotByName(in wstring name); |
|
20 |
|
21 nsIEnumerator listSlots(); |
|
22 |
|
23 }; |
|
24 |