Data Structures | |
struct | SSLEntry |
Public Member Functions | |
SSLContextStorage () | |
~SSLContextStorage () | |
bool | insert (SSL_CTX *ctx, const char *name) |
SSL_CTX * | lookup (const char *name) const |
unsigned | count () const |
SSL_CTX * | get (unsigned i) const |
Definition at line 71 of file SSLCertLookup.cc.
SSLContextStorage::SSLContextStorage | ( | ) |
Definition at line 208 of file SSLCertLookup.cc.
SSLContextStorage::~SSLContextStorage | ( | ) |
Definition at line 213 of file SSLCertLookup.cc.
References Vec< C, A, S >::count(), ink_hash_table_destroy(), and SSLReleaseContext().
unsigned SSLContextStorage::count | ( | ) | const [inline] |
Definition at line 78 of file SSLCertLookup.cc.
References Vec< C, A, S >::count().
Referenced by SSLCertLookup::count().
SSL_CTX* SSLContextStorage::get | ( | unsigned | i | ) | const [inline] |
Definition at line 79 of file SSLCertLookup.cc.
Referenced by SSLCertLookup::get().
bool SSLContextStorage::insert | ( | SSL_CTX * | ctx, | |
const char * | name | |||
) |
Definition at line 223 of file SSLCertLookup.cc.
References Debug, Error, Vec< C, A, S >::in(), ink_hash_table_insert(), ink_hash_table_lookup(), Trie< T >::Insert(), ats_wildcard_matcher::match(), Vec< C, A, S >::push_back(), reverse_dns_name(), Trie< T >::Search(), TS_MAX_HOST_NAME_LEN, and Warning.
Referenced by SSLCertLookup::insert().
SSL_CTX * SSLContextStorage::lookup | ( | const char * | name | ) | const |
Definition at line 285 of file SSLCertLookup.cc.
References Debug, Trie< T >::Empty(), Error, ink_hash_table_lookup(), reverse_dns_name(), Trie< T >::Search(), and TS_MAX_HOST_NAME_LEN.
Referenced by SSLCertLookup::findInfoInHash().