#include <P_SSLCertLookup.h>
Public Member Functions | |
bool | insert (SSL_CTX *ctx, const char *name) |
bool | insert (SSL_CTX *ctx, const IpEndpoint &address) |
SSL_CTX * | findInfoInHash (const char *address) const |
SSL_CTX * | findInfoInHash (const IpEndpoint &address) const |
SSL_CTX * | defaultContext () const |
unsigned | count () const |
SSL_CTX * | get (unsigned i) const |
SSLCertLookup () | |
virtual | ~SSLCertLookup () |
Data Fields | |
SSLContextStorage * | ssl_storage |
SSL_CTX * | ssl_default |
Definition at line 33 of file P_SSLCertLookup.h.
SSLCertLookup::SSLCertLookup | ( | ) |
Definition at line 97 of file SSLCertLookup.cc.
SSLCertLookup::~SSLCertLookup | ( | ) | [virtual] |
Definition at line 102 of file SSLCertLookup.cc.
References ssl_storage.
unsigned SSLCertLookup::count | ( | ) | const |
Definition at line 147 of file SSLCertLookup.cc.
References SSLContextStorage::count(), and ssl_storage.
SSL_CTX* SSLCertLookup::defaultContext | ( | ) | const [inline] |
Definition at line 44 of file P_SSLCertLookup.h.
References ssl_default.
SSL_CTX * SSLCertLookup::findInfoInHash | ( | const char * | address | ) | const |
Definition at line 108 of file SSLCertLookup.cc.
References SSLContextStorage::lookup(), and ssl_storage.
SSL_CTX * SSLCertLookup::findInfoInHash | ( | const IpEndpoint & | address | ) | const |
Definition at line 114 of file SSLCertLookup.cc.
References SSLAddressLookupKey::get(), SSLContextStorage::lookup(), IpEndpoint::port(), SSLAddressLookupKey::split(), and ssl_storage.
SSL_CTX * SSLCertLookup::get | ( | unsigned | i | ) | const |
Definition at line 153 of file SSLCertLookup.cc.
References SSLContextStorage::get(), and ssl_storage.
Referenced by SSLCertificateConfig::acquire().
bool SSLCertLookup::insert | ( | SSL_CTX * | ctx, | |
const IpEndpoint & | address | |||
) |
Definition at line 140 of file SSLCertLookup.cc.
References SSLAddressLookupKey::get(), SSLContextStorage::insert(), and ssl_storage.
bool SSLCertLookup::insert | ( | SSL_CTX * | ctx, | |
const char * | name | |||
) |
Definition at line 134 of file SSLCertLookup.cc.
References SSLContextStorage::insert(), and ssl_storage.
Referenced by ssl_index_certificate(), and ssl_store_ssl_context().
SSL_CTX* SSLCertLookup::ssl_default |
Definition at line 36 of file P_SSLCertLookup.h.
Referenced by defaultContext(), ssl_store_ssl_context(), and SSLParseCertificateConfiguration().
Definition at line 35 of file P_SSLCertLookup.h.
Referenced by count(), findInfoInHash(), get(), insert(), and ~SSLCertLookup().