BLOCXX_NAMESPACE::SSLTrustStore Class Reference

#include <SSLCtxMgr.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::SSLTrustStore:

BLOCXX_NAMESPACE::IntrusiveCountableBase

List of all members.

Public Member Functions

 SSLTrustStore (const String &storeLocation)
void addCertificate (X509 *cert, const String &user, const String &uid)
bool getUser (const String &certhash, String &user, String &uid)

Static Public Member Functions

static String getCertMD5Fingerprint (X509 *cert)

Private Member Functions

void readMap ()
void writeMap ()

Private Attributes

String m_store
String m_mapfile
Map< String, UserInfom_map

Classes

struct  UserInfo


Detailed Description

Definition at line 274 of file SSLCtxMgr.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::SSLTrustStore::SSLTrustStore ( const String storeLocation  ) 


Member Function Documentation

void BLOCXX_NAMESPACE::SSLTrustStore::addCertificate ( X509 *  cert,
const String user,
const String uid 
)

bool BLOCXX_NAMESPACE::SSLTrustStore::getUser ( const String certhash,
String user,
String uid 
)

Definition at line 798 of file SSLCtxMgr.cpp.

References m_map, and BLOCXX_NAMESPACE::m_mapGuard.

String BLOCXX_NAMESPACE::SSLTrustStore::getCertMD5Fingerprint ( X509 *  cert  )  [static]

Definition at line 863 of file SSLCtxMgr.cpp.

References BLOCXX_NAMESPACE::MD5::convertBinToHex().

Referenced by addCertificate().

void BLOCXX_NAMESPACE::SSLTrustStore::readMap (  )  [private]

void BLOCXX_NAMESPACE::SSLTrustStore::writeMap (  )  [private]

Definition at line 873 of file SSLCtxMgr.cpp.

References BLOCXX_THROW_ERRNO_MSG, BLOCXX_NAMESPACE::String::c_str(), m_map, and m_mapfile.

Referenced by addCertificate().


Member Data Documentation

Definition at line 283 of file SSLCtxMgr.hpp.

Referenced by addCertificate(), and SSLTrustStore().

Definition at line 284 of file SSLCtxMgr.hpp.

Referenced by readMap(), SSLTrustStore(), and writeMap().

Definition at line 296 of file SSLCtxMgr.hpp.

Referenced by addCertificate(), getUser(), readMap(), and writeMap().


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

Generated on Wed Feb 25 19:05:14 2009 for blocxx by  doxygen 1.5.6