#include <certificatedb.h>
Public Types | |
typedef ConexusPointer < CertificateDB > | pointer |
Public Member Functions | |
~CertificateDB () | |
bool | verify_certificate_now (Certificate::pointer cert, bool check_sig, CERT_USAGE usage, void *wincx) |
Certificate::pointer | find_certificate_by_name (SECItem *name) |
CertificateNicknames::pointer | get_certificate_nicknames (NICKNAMES what, void *wincx) |
operator bool () | |
void | set_cobj (CERTCertDBHandle *cobj) |
CERTCertDBHandle * | cobj () |
Static Public Member Functions | |
static pointer | create (CERTCertDBHandle *cobj) |
static pointer | create () |
Returns a smart pointer to the default certificate database. | |
Protected Member Functions | |
CertificateDB (CERTCertDBHandle *cobj=NULL) | |
Protected Attributes | |
CERTCertDBHandle * | m_cobj |
typedef ConexusPointer<CertificateDB> Conexus::NSS::CertificateDB::pointer |
Conexus::NSS::CertificateDB::CertificateDB | ( | CERTCertDBHandle * | cobj = NULL |
) | [protected] |
Referenced by create().
Conexus::NSS::CertificateDB::~CertificateDB | ( | ) |
CERTCertDBHandle * Conexus::NSS::CertificateDB::cobj | ( | ) |
References m_cobj.
CertificateDB::pointer Conexus::NSS::CertificateDB::create | ( | ) | [static] |
Returns a smart pointer to the default certificate database.
References CertificateDB().
Referenced by find_certificate_by_name(), and get_certificate_nicknames().
CertificateDB::pointer Conexus::NSS::CertificateDB::create | ( | CERTCertDBHandle * | cobj | ) | [static] |
References CertificateDB().
Certificate::pointer Conexus::NSS::CertificateDB::find_certificate_by_name | ( | SECItem * | name | ) |
CertificateNicknames::pointer Conexus::NSS::CertificateDB::get_certificate_nicknames | ( | NICKNAMES | what, | |
void * | wincx | |||
) |
Conexus::NSS::CertificateDB::operator bool | ( | ) |
References m_cobj.
void Conexus::NSS::CertificateDB::set_cobj | ( | CERTCertDBHandle * | cobj | ) |
References m_cobj.
bool Conexus::NSS::CertificateDB::verify_certificate_now | ( | Certificate::pointer | cert, | |
bool | check_sig, | |||
CERT_USAGE | usage, | |||
void * | wincx | |||
) |
References m_cobj.
CERTCertDBHandle* Conexus::NSS::CertificateDB::m_cobj [protected] |
Referenced by cobj(), find_certificate_by_name(), get_certificate_nicknames(), operator bool(), set_cobj(), and verify_certificate_now().