security/manager/ssl/public/nsIPK11TokenDB.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 nsIPK11Token;
    10 interface nsIEnumerator;
    12 /**
    13  * The PK11 Token Database provides access to the PK11 modules
    14  * that are installed, and the tokens that are available.
    15  * Interfaces: nsIPK11TokenDB
    16  * Threading: ??
    17  */
    18 %{C++
    19 #define NS_PK11TOKENDB_CONTRACTID "@mozilla.org/security/pk11tokendb;1"
    20 %}
    22 /**
    23  * nsIPK11TokenDB - Manages PK11 Tokens
    24  */
    25 [scriptable, uuid(4ee28c82-1dd2-11b2-aabf-bb4017abe395)]
    26 interface nsIPK11TokenDB : nsISupports
    27 {
    28   /*
    29    * Get the internal key database token
    30    */
    31   nsIPK11Token getInternalKeyToken();
    33   /*
    34    * Find a token by name
    35    */
    36   nsIPK11Token findTokenByName(in wstring tokenName);
    38   /*
    39    * List all tokens
    40    */
    41   nsIEnumerator listTokens();
    43 };

mercurial