38 NDN_THROW(
Error(
"KeyLocator is missing in Sha256WithRsa signature"));
43 SignatureSha256WithRsa::unsetKeyLocator()
45 NDN_THROW(
Error(
"KeyLocator cannot be unset in Sha256WithRsa signature"));
Represents a signature of Sha256WithRsa type.
Represents a SignatureInfo TLV element.
std::string to_string(const T &val)
bool hasKeyLocator() const
Check if KeyLocator exists in SignatureInfo.
tlv::SignatureTypeValue getType() const
Get SignatureType.
SignatureSha256WithRsa(const KeyLocator &keyLocator=KeyLocator())
Create Sha256WithRsa signature with specified KeyLocator.
Holds SignatureInfo and SignatureValue in a Data packet.