1 #ifndef ASYMMETRICKEYEXCEPTION_H_ 2 #define ASYMMETRICKEYEXCEPTION_H_ 46 ret =
"AsymmetricKeyException. Called by: " + this->
where +
".";
54 ret +=
" More details: " + this->
details +
".";
68 ret =
"Unknown error";
74 ret =
"Invalid asymmetric key type";
77 ret =
"Internal error";
80 ret =
"Asymmetric key not available";
83 ret =
"Invalid asymmetric key";
AsymmetricKeyException(AsymmetricKeyException::ErrorCode errorCode, std::string where)
Definition: AsymmetricKeyException.h:24
virtual ~AsymmetricKeyException()
Definition: AsymmetricKeyException.h:36
virtual std::string toString() const
Definition: AsymmetricKeyException.h:41
virtual AsymmetricKeyException::ErrorCode getErrorCode()
Definition: AsymmetricKeyException.h:58
Definition: AsymmetricKeyException.h:13
Definition: AsymmetricKeyException.h:15
Definition: AsymmetricKeyException.h:6
Definition: AsymmetricKeyException.h:14
ErrorCode
Definition: AsymmetricKeyException.h:9
Definition: AsymmetricKeyException.h:16
AsymmetricKeyException(std::string where)
Definition: AsymmetricKeyException.h:18
static std::string errorCode2Message(AsymmetricKeyException::ErrorCode errorCode)
Definition: AsymmetricKeyException.h:62
Definition: LibCryptoSecException.h:8
std::string where
Definition: LibCryptoSecException.h:23
AsymmetricKeyException::ErrorCode errorCode
Definition: AsymmetricKeyException.h:92
std::string details
Definition: LibCryptoSecException.h:24
Definition: AsymmetricKeyException.h:12
virtual std::string getMessage() const
Definition: AsymmetricKeyException.h:37
AsymmetricKeyException(AsymmetricKeyException::ErrorCode errorCode, std::string details, std::string where)
Definition: AsymmetricKeyException.h:30
Definition: AsymmetricKeyException.h:11