26 static_assert(std::is_base_of<tlv::Error, Signature::Error>::value,
27 "Signature::Error must inherit from tlv::Error");
Represents a SignatureInfo or InterestSignatureInfo TLV element.
void setInfo(const Block &info)
Decode SignatureInfo from wire format.
int32_t getSignatureType() const noexcept
Get SignatureType.
Represents a TLV element of the NDN packet format.
tlv::SignatureTypeValue getType() const
Get SignatureType.
void setValue(const Block &value)
Set SignatureValue.
SignatureTypeValue
SignatureType values.
uint32_t type() const
Return the TLV-TYPE of the Block.