VMime
|
Public Member Functions | |
certificateException () | |
certificateException (const std::string &what) | |
~certificateException () throw () | |
exception * | clone () const |
void | setCertificate (shared_ptr< certificate > cert) |
shared_ptr< certificate > | getCertificate () |
![]() | |
exception (const string &what, const exception &other=NO_EXCEPTION) | |
exception (const exception &e) | |
virtual | ~exception () throw () |
void | chainException (const exception &other) |
const exception * | other () const throw () |
virtual const char * | name () const throw () |
Thrown to indicate a problem with a certificate or certificate verification.
Constructs a certificateException with no detail message.
Referenced by certificateException::clone().
certificateException | ( | const std::string & | what | ) |
Constructs a certificateException with a detail message.
what | a message that describes this exception |
~certificateException | ( | ) | ||
throw | ( | |||
) |
|
virtual |
Clone this object.
Reimplemented from exception.
Reimplemented in unsupportedCertificateTypeException, certificateExpiredException, certificateIssuerVerificationException, certificateNotTrustedException, certificateNotYetValidException, and serverIdentityException.
References certificateException::certificateException().
shared_ptr< certificate > getCertificate | ( | ) |
Returns the certificate on which the problem occured.
void setCertificate | ( | shared_ptr< certificate > | cert | ) |
Sets the certificate on which the problem occured.
cert | certificate |
Referenced by X509Certificate::checkValidity().