Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
nsPKCS11Module Class Reference

#include <nsPKCS11Slot.h>

Inheritance diagram for nsPKCS11Module:
Inheritance graph
[legend]
Collaboration diagram for nsPKCS11Module:
Collaboration graph
[legend]

List of all members.

Public Types

enum  CalledFromType { calledFromList, calledFromObject }

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIPKCS11MODULE 
nsPKCS11Module (SECMODModule *module)
virtual ~nsPKCS11Module ()
nsIPKCS11Slot findSlotByName (in wstring name)
nsIEnumerator listSlots ()
void shutdown (CalledFromType calledFrom)
PRBool isAlreadyShutDown ()

Public Attributes

readonly attribute wstring name
readonly attribute wstring libName

Private Member Functions

virtual void virtualDestroyNSSReference ()
void destructorSafeDestroyNSSReference ()

Private Attributes

SECMODModule * mModule

Detailed Description

Definition at line 73 of file nsPKCS11Slot.h.


Member Enumeration Documentation

Enumerator:
calledFromList 
calledFromObject 

Definition at line 270 of file nsNSSShutDown.h.


Constructor & Destructor Documentation

nsPKCS11Module::nsPKCS11Module ( SECMODModule *  module)

Definition at line 266 of file nsPKCS11Slot.cpp.

Here is the call graph for this function:

Definition at line 276 of file nsPKCS11Slot.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 291 of file nsPKCS11Slot.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsIPKCS11Slot nsIPKCS11Module::findSlotByName ( in wstring  name) [inherited]

Definition at line 298 of file nsNSSShutDown.h.

{ return mAlreadyShutDown; }

Here is the caller graph for this function:

void nsNSSShutDownObject::shutdown ( CalledFromType  calledFrom) [inline, inherited]

Definition at line 285 of file nsNSSShutDown.h.

  {
    if (!mAlreadyShutDown) {
      if (calledFromObject == calledFrom) {
        nsNSSShutDownList::forget(this);
      }
      if (calledFromList == calledFrom) {
        virtualDestroyNSSReference();
      }
      mAlreadyShutDown = PR_TRUE;
    }
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Implements nsNSSShutDownObject.

Definition at line 286 of file nsPKCS11Slot.cpp.

Here is the call graph for this function:


Member Data Documentation

readonly attribute wstring nsIPKCS11Module::libName [inherited]

Definition at line 50 of file nsIPKCS11Module.idl.

SECMODModule* nsPKCS11Module::mModule [private]

Definition at line 84 of file nsPKCS11Slot.h.

readonly attribute wstring nsIPKCS11Module::name [inherited]

Definition at line 49 of file nsIPKCS11Module.idl.


The documentation for this class was generated from the following files: