VMime
certificateException Class Reference
Inheritance diagram for certificateException:
Collaboration diagram for certificateException:

Public Member Functions

 certificateException ()
 
 certificateException (const std::string &what)
 
 ~certificateException () throw ()
 
exceptionclone () const
 
void setCertificate (shared_ptr< certificate > cert)
 
shared_ptr< certificategetCertificate ()
 
- 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 exceptionother () const throw ()
 
virtual const char * name () const throw ()
 

Detailed Description

Thrown to indicate a problem with a certificate or certificate verification.

Constructor & Destructor Documentation

Constructs a certificateException with no detail message.

Referenced by certificateException::clone().

certificateException ( const std::string &  what)

Constructs a certificateException with a detail message.

Parameters
whata message that describes this exception
~certificateException ( )
throw (
)

Member Function Documentation

shared_ptr< certificate > getCertificate ( )

Returns the certificate on which the problem occured.

Returns
certificate
void setCertificate ( shared_ptr< certificate cert)

Sets the certificate on which the problem occured.

Parameters
certcertificate

Referenced by X509Certificate::checkValidity().


The documentation for this class was generated from the following files: