![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Helper class for signing hashes and checking their signatures. More...
#include <messagesigner.h>
Static Public Member Functions | |
| static bool | SignHash (const uint256 &hash, const CKey &key, std::vector< unsigned char > &vchSigRet) |
| Sign the hash, returns true if successful. More... | |
| static bool | VerifyHash (const uint256 &hash, const CPubKey &pubkey, const std::vector< unsigned char > &vchSig, std::string &strErrorRet) |
| Verify the hash signature, returns true if succcessful. More... | |
| static bool | VerifyHash (const uint256 &hash, const CKeyID &keyID, const std::vector< unsigned char > &vchSig, std::string &strErrorRet) |
| Verify the hash signature, returns true if succcessful. More... | |
Helper class for signing hashes and checking their signatures.
Definition at line 28 of file messagesigner.h.
|
static |
Sign the hash, returns true if successful.
Definition at line 48 of file messagesigner.cpp.
|
static |
Verify the hash signature, returns true if succcessful.
Definition at line 58 of file messagesigner.cpp.
|
static |
Verify the hash signature, returns true if succcessful.
Definition at line 53 of file messagesigner.cpp.
1.8.17