35 BOOST_THROW_EXCEPTION(
Error(
"Incorrect signature type"));
38 BOOST_THROW_EXCEPTION(
Error(
"KeyLocator is missing"));
43 SignatureSha256WithRsa::unsetKeyLocator()
45 BOOST_THROW_EXCEPTION(Error(
"KeyLocator cannot be reset for SignatureSha256WithRsa"));
Represent a SHA256-with-RSA signature.
Copyright (c) 2013-2016 Regents of the University of California.
bool hasKeyLocator() const
Check if SignatureInfo block has a KeyLocator.
uint32_t getType() const
Get signature type.
SignatureSha256WithRsa(const KeyLocator &keyLocator=KeyLocator())
A Signature is storage for the signature-related information (info and value) in a Data packet...