CPKIFNSSPasswordStorage Class Reference

#include <PKIFNSSPasswordStorage.h>

Collaboration diagram for CPKIFNSSPasswordStorage:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFNSSPasswordStorage class provides a way to set up password callback to access password protected NSS databases.

TSP-enforcing: No

Definition at line 23 of file PKIFNSSPasswordStorage.h.


Static Public Member Functions

static void InstallCallback (void)
static void SetUserCallback (IPKIFPasswordCallback *cb)

Friends

struct PKIFNSSPasswordStorageImpl

Member Function Documentation

void CPKIFNSSPasswordStorage::InstallCallback ( void   )  [static]

Interface: External

This function installs the NSS database password callback

Returns:
None

Definition at line 63 of file PKIFNSSPasswordStorage.cpp.

References m_impl.

void CPKIFNSSPasswordStorage::SetUserCallback ( IPKIFPasswordCallback cb  )  [static]

Interface: External

This function sets the NSS database user password callback. It's the caller's responsibility to make certain that the callback object lives as long as they might perform an operation that requires a password protected key, and to free it if needed after that point

Returns:
None
Parameters:
cb  [in] A pointer to an object that implements the IPKIFPasswordCallback interface

Definition at line 81 of file PKIFNSSPasswordStorage.cpp.

References m_impl, CPKIFNSSHelper::NSSAvaliable(), and PKIFDelete().

Referenced by ShutdownCrypto().


Friends And Related Function Documentation

friend struct PKIFNSSPasswordStorageImpl [friend]

Definition at line 25 of file PKIFNSSPasswordStorage.h.


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

Generated on Mon Nov 15 11:20:29 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6