VMime
certificateException Class Reference

#include <certificateException.hpp>

Inheritance diagram for certificateException:
Collaboration diagram for certificateException:

Public Member Functions

 certificateException ()
 certificateException (const std::string &what)
 ~certificateException () throw ()
exception * clone () const
void setCertificate (shared_ptr< certificate > cert)
shared_ptr< certificategetCertificate ()
shared_ptr< const certificategetCertificate () 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

Detailed Description

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

Constructor & Destructor Documentation

◆ certificateException() [1/2]

◆ certificateException() [2/2]

certificateException ( const std::string & what)

Constructs a certificateException with a detail message.

Parameters
whata message that describes this exception

◆ ~certificateException()

~certificateException ( )
throw ( )

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

◆ getCertificate() [1/2]

shared_ptr< certificate > getCertificate ( )

Returns the certificate on which the problem occured.

Returns
certificate

◆ getCertificate() [2/2]

shared_ptr< const certificate > getCertificate ( ) const

Returns the certificate on which the problem occured.

Returns
certificate

◆ setCertificate()

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: