BLOCXX_NAMESPACE::SSLTrustStore Class Reference

#include <SSLCtxMgr.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::SSLTrustStore:

BLOCXX_NAMESPACE::IntrusiveCountableBase

List of all members.

Classes

struct  UserInfo

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


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 
)

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

Definition at line 863 of file SSLCtxMgr.cpp.

References BLOCXX_NAMESPACE::MD5::convertBinToHex().

Referenced by addCertificate().

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

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

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


Member Data Documentation

Definition at line 296 of file SSLCtxMgr.hpp.

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

Definition at line 284 of file SSLCtxMgr.hpp.

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

Definition at line 283 of file SSLCtxMgr.hpp.

Referenced by addCertificate(), and SSLTrustStore().


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

doxygen