Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_CryptoSetup Class Reference

#include <crypto_setup.h>

List of all members.

Public Member Functions

 CL_CryptoSetup (const CL_String &config_dir, bool read_write=false)
 Construction:.
 ~CL_CryptoSetup ()
void config_server_sid_cache (int max_cache_entries=256, unsigned int timeout=0, unsigned int ssl3_timeout=0, const CL_String &directory=CL_String())
 Operations:.
CL_Certificate find_cert_from_nickname (const CL_String &nickname, PK11PasswordHandler *pw_handler)
CL_Certificate find_cert_from_nickname (const CL_String &nickname, const CL_String &password=CL_String())
CL_PrivateKey find_key_by_any_cert (const CL_Certificate &cert, PK11PasswordHandler *pw_handler)

Static Private Member Functions

static char * pk11_password_func (PK11SlotInfo *slot, PRBool retry, void *arg)

Static Private Attributes

static CL_CryptoSetupinstance = 0
 Implementation:.


Constructor & Destructor Documentation

CL_CryptoSetup::CL_CryptoSetup const CL_String &  config_dir,
bool  read_write = false
 

Construction:.

Definition at line 44 of file crypto_setup.cpp.

References instance, pk11_password_func(), TEXT, and CL_StringHelp::text_to_local8().

CL_CryptoSetup::~CL_CryptoSetup  ) 
 

Definition at line 71 of file crypto_setup.cpp.

References instance.


Member Function Documentation

void CL_CryptoSetup::config_server_sid_cache int  max_cache_entries = 256,
unsigned int  timeout = 0,
unsigned int  ssl3_timeout = 0,
const CL_String &  directory = CL_String()
 

Operations:.

Definition at line 82 of file crypto_setup.cpp.

References TEXT.

CL_Certificate CL_CryptoSetup::find_cert_from_nickname const CL_String &  nickname,
const CL_String &  password = CL_String()
 

Definition at line 108 of file crypto_setup.cpp.

References find_cert_from_nickname().

CL_Certificate CL_CryptoSetup::find_cert_from_nickname const CL_String &  nickname,
PK11PasswordHandler pw_handler
 

Definition at line 97 of file crypto_setup.cpp.

References TEXT, and CL_StringHelp::text_to_local8().

Referenced by find_cert_from_nickname().

CL_PrivateKey CL_CryptoSetup::find_key_by_any_cert const CL_Certificate cert,
PK11PasswordHandler pw_handler
 

Definition at line 116 of file crypto_setup.cpp.

References TEXT.

char * CL_CryptoSetup::pk11_password_func PK11SlotInfo *  slot,
PRBool  retry,
void *  arg
[static, private]
 

Definition at line 131 of file crypto_setup.cpp.

Referenced by CL_CryptoSetup().


Member Data Documentation

CL_CryptoSetup * CL_CryptoSetup::instance = 0 [static, private]
 

Implementation:.

Definition at line 129 of file crypto_setup.cpp.

Referenced by CL_CryptoSetup(), and ~CL_CryptoSetup().


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:17 2005 for npcore by  doxygen 1.4.1