libcryptosec
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
CertificationException Class Reference

#include <CertificationException.h>

Inheritance diagram for CertificationException:
LibCryptoSecException

Public Types

enum  ErrorCode {
  UNKNOWN, INVALID_CERTIFICATE, INVALID_CRL, INVALID_EXTENSION,
  SET_NO_VALUE, INTERNAL_ERROR, UNSUPPORTED_ASYMMETRIC_KEY_TYPE, INVALID_TYPE,
  ADDING_EXTENSION, UNKNOWN_OID, KNOWN_OID
}
 

Public Member Functions

 CertificationException (std::string where)
 
 CertificationException (CertificationException::ErrorCode errorCode, std::string where)
 
virtual ~CertificationException () throw ()
 
virtual std::string getMessage () const
 
virtual std::string toString () const
 
virtual CertificationException::ErrorCode getErrorCode ()
 
- Public Member Functions inherited from LibCryptoSecException
virtual ~LibCryptoSecException () throw ()
 
virtual const char * what () const throw ()
 
virtual const std::string getDetails () const throw ()
 

Static Public Member Functions

static std::string errorCode2Message (CertificationException::ErrorCode errorCode)
 

Protected Attributes

CertificationException::ErrorCode errorCode
 
- Protected Attributes inherited from LibCryptoSecException
std::string where
 
std::string details
 

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
INVALID_CERTIFICATE 
INVALID_CRL 
INVALID_EXTENSION 
SET_NO_VALUE 
INTERNAL_ERROR 
UNSUPPORTED_ASYMMETRIC_KEY_TYPE 
INVALID_TYPE 
ADDING_EXTENSION 
UNKNOWN_OID 
KNOWN_OID 

Constructor & Destructor Documentation

◆ CertificationException() [1/2]

CertificationException::CertificationException ( std::string  where)
inline

◆ CertificationException() [2/2]

CertificationException::CertificationException ( CertificationException::ErrorCode  errorCode,
std::string  where 
)
inline

◆ ~CertificationException()

virtual CertificationException::~CertificationException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

static std::string CertificationException::errorCode2Message ( CertificationException::ErrorCode  errorCode)
inlinestatic

◆ getErrorCode()

virtual CertificationException::ErrorCode CertificationException::getErrorCode ( )
inlinevirtual

◆ getMessage()

virtual std::string CertificationException::getMessage ( ) const
inlinevirtual

Implements LibCryptoSecException.

◆ toString()

virtual std::string CertificationException::toString ( ) const
inlinevirtual

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

CertificationException::ErrorCode CertificationException::errorCode
protected

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