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

#include <SignerException.h>

Inheritance diagram for SignerException:
LibCryptoSecException

Public Types

enum  ErrorCode { UNKNOWN, SIGNING_DATA, VERIFYING_DATA, UNSUPPORTED_ASYMMETRIC_KEY_TYPE }
 

Public Member Functions

 SignerException (std::string where)
 
 SignerException (SignerException::ErrorCode errorCode, std::string where)
 
virtual ~SignerException () throw ()
 
virtual std::string getMessage () const
 
virtual std::string toString () const
 
virtual SignerException::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 (SignerException::ErrorCode errorCode)
 

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
SIGNING_DATA 
VERIFYING_DATA 
UNSUPPORTED_ASYMMETRIC_KEY_TYPE 

Constructor & Destructor Documentation

◆ SignerException() [1/2]

SignerException::SignerException ( std::string  where)
inline

◆ SignerException() [2/2]

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

◆ ~SignerException()

virtual SignerException::~SignerException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual SignerException::ErrorCode SignerException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

SignerException::ErrorCode SignerException::errorCode
protected

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