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.
bool hasKeyLocator() const
Check if KeyLocator exists in SignatureInfo.
SignatureSha256WithRsa(const KeyLocator &keyLocator=KeyLocator())
Create Sha256WithRsa signature with specified KeyLocator.
tlv::SignatureTypeValue getType() const
Get SignatureType.
std::string to_string(const V &v)
Holds SignatureInfo and SignatureValue in a Data packet.