Back to index

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

#include <nsNSSCertCache.h>

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

List of all members.

Public Types

enum  CalledFromType { calledFromList, calledFromObject }

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSINSSCERTCACHE 
nsNSSCertCache ()
virtual ~nsNSSCertCache ()
void cacheAllCerts ()
voidPtr getCachedCerts ()
void shutdown (CalledFromType calledFrom)
PRBool isAlreadyShutDown ()

Private Member Functions

virtual void virtualDestroyNSSReference ()
void destructorSafeDestroyNSSReference ()

Private Attributes

PRLockmutex
CERTCertList * mCertList

Detailed Description

Definition at line 44 of file nsNSSCertCache.h.


Member Enumeration Documentation

Enumerator:
calledFromList 
calledFromObject 

Definition at line 270 of file nsNSSShutDown.h.


Constructor & Destructor Documentation

Definition at line 46 of file nsNSSCertCache.cpp.

Here is the call graph for this function:

Definition at line 52 of file nsNSSCertCache.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 67 of file nsNSSCertCache.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

voidPtr nsINSSCertCache::getCachedCerts ( ) [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 62 of file nsNSSCertCache.cpp.

Here is the call graph for this function:


Member Data Documentation

CERTCertList* nsNSSCertCache::mCertList [private]

Definition at line 56 of file nsNSSCertCache.h.

Definition at line 55 of file nsNSSCertCache.h.


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