|
VMime
|
#include <certificateException.hpp>


Public Member Functions | |
| certificateException () | |
| certificateException (const std::string &what) | |
| ~certificateException () throw () | |
| exception * | clone () const |
| void | setCertificate (shared_ptr< certificate > cert) |
| shared_ptr< certificate > | getCertificate () |
| shared_ptr< const certificate > | getCertificate () const |
| Public Member Functions inherited from exception | |
| 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 () |
Additional Inherited Members | |
| Static Protected Attributes inherited from exception | |
| static const exception | NO_EXCEPTION |
Thrown to indicate a problem with a certificate or certificate verification.
| certificateException | ( | ) |
Constructs a certificateException with no detail message.
Referenced by certificateExpiredException::certificateExpiredException(), certificateIssuerVerificationException::certificateIssuerVerificationException(), certificateNotTrustedException::certificateNotTrustedException(), certificateNotYetValidException::certificateNotYetValidException(), clone(), serverIdentityException::serverIdentityException(), and unsupportedCertificateTypeException::unsupportedCertificateTypeException().
| 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 certificateExpiredException, certificateIssuerVerificationException, certificateNotTrustedException, certificateNotYetValidException, serverIdentityException, and unsupportedCertificateTypeException.
References certificateException().
| shared_ptr< certificate > getCertificate | ( | ) |
Returns the certificate on which the problem occured.
| shared_ptr< const certificate > getCertificate | ( | ) | const |
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().