1 #ifndef PKCS12EXCEPTION_H_ 2 #define PKCS12EXCEPTION_H_ 41 ret =
"Pkcs12Exception. Called by: " + this->
where +
".";
49 ret +=
" More details:\n" + this->
details +
".";
65 ret =
"Unknown error";
68 ret =
"Key and certificate do not match";
71 ret =
"MAC verification failure";
Definition: Pkcs12Exception.h:17
Pkcs12Exception::ErrorCode errorCode
Definition: Pkcs12Exception.h:87
virtual std::string getMessage() const
Definition: Pkcs12Exception.h:31
virtual Pkcs12Exception::ErrorCode getErrorCode()
Definition: Pkcs12Exception.h:54
Pkcs12Exception(Pkcs12Exception::ErrorCode errorCode, std::string where)
Definition: Pkcs12Exception.h:25
static std::string errorCode2Message(Pkcs12Exception::ErrorCode errorCode)
Definition: Pkcs12Exception.h:59
Definition: Pkcs12Exception.h:16
Definition: Pkcs12Exception.h:14
ErrorCode
Definition: Pkcs12Exception.h:12
Definition: Pkcs12Exception.h:6
Definition: LibCryptoSecException.h:8
std::string where
Definition: LibCryptoSecException.h:23
virtual std::string toString() const
Definition: Pkcs12Exception.h:36
std::string details
Definition: LibCryptoSecException.h:24
Pkcs12Exception(std::string where)
Definition: Pkcs12Exception.h:20
Definition: Pkcs12Exception.h:15
virtual ~Pkcs12Exception()
Definition: Pkcs12Exception.h:10