Added signature validation test

This commit is contained in:
Arun M 2017-12-26 09:21:24 +05:30
parent cb1847142e
commit 204092e588
6 changed files with 75 additions and 2 deletions

View file

@ -45,7 +45,7 @@ public:
/**
*/
class DecodeError final: public std::runtime_error
class DecodeError: public std::runtime_error
{
public:
/**
@ -56,6 +56,19 @@ public:
}
};
/**
*/
class SignatureFormatError final : public std::runtime_error
{
public:
/**
*/
SignatureFormatError(std::string msg)
: std::runtime_error(std::move(msg))
{
}
};
/**
*/
class VerificationError : public std::runtime_error