1 #ifndef SYMMETRICCIPHEREXCEPTION_H_ 2 #define SYMMETRICCIPHEREXCEPTION_H_ 38 ret =
"SymmetricCipherException. Called by: " + this->
where +
".";
56 ret =
"Unknown error";
59 ret =
"Invalid symmetric cipher";
62 ret =
"Creating symmetric cipher context";
65 ret =
"Updating symmetric cipher context";
68 ret =
"Finishing symmetric cipher context";
71 ret =
"No input data";
Definition: SymmetricCipherException.h:15
SymmetricCipherException::ErrorCode errorCode
Definition: SymmetricCipherException.h:86
static std::string errorCode2Message(SymmetricCipherException::ErrorCode errorCode)
Definition: SymmetricCipherException.h:50
SymmetricCipherException(std::string where)
Definition: SymmetricCipherException.h:18
Definition: SymmetricCipherException.h:6
Definition: SymmetricCipherException.h:16
Definition: SymmetricCipherException.h:11
Definition: SymmetricCipherException.h:14
Definition: LibCryptoSecException.h:8
std::string where
Definition: LibCryptoSecException.h:23
Definition: SymmetricCipherException.h:13
virtual ~SymmetricCipherException()
Definition: SymmetricCipherException.h:28
SymmetricCipherException(SymmetricCipherException::ErrorCode errorCode, std::string where)
Definition: SymmetricCipherException.h:23
virtual std::string toString() const
Definition: SymmetricCipherException.h:33
ErrorCode
Definition: SymmetricCipherException.h:9
Definition: SymmetricCipherException.h:12
virtual std::string getMessage() const
Definition: SymmetricCipherException.h:29
virtual SymmetricCipherException::ErrorCode getErrorCode()
Definition: SymmetricCipherException.h:46