38 NDN_THROW(
Error(
"KeyLocator is missing in Sha256WithEcdsa signature"));
43 SignatureSha256WithEcdsa::unsetKeyLocator()
45 NDN_THROW(
Error(
"KeyLocator cannot be unset in Sha256WithEcdsa signature"));
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.
Represents a signature of Sha256WithEcdsa type.
SignatureSha256WithEcdsa(const KeyLocator &keyLocator=KeyLocator())
Create Sha256WithEcdsa signature with specified KeyLocator.
Holds SignatureInfo and SignatureValue in a Data packet.