26 BOOST_CONCEPT_ASSERT((boost::EqualityComparable<Signature>));
27 static_assert(std::is_base_of<tlv::Error, Signature::Error>::value,
28 "Signature::Error must inherit from tlv::Error");
Represents a SignatureInfo TLV element.
void setInfo(const Block &info)
Decode SignatureInfo from wire format.
Represents a TLV element of NDN packet format.
const Block & getValue() const
Get SignatureValue.
const SignatureInfo & getSignatureInfo() const
Get SignatureInfo.
void setValue(const Block &value)
Set SignatureValue.
SignatureTypeValue
SignatureType values.
tlv::SignatureTypeValue getType() const
Get SignatureType.
uint32_t type() const
Return the TLV-TYPE of the Block.
bool operator==(const Data &lhs, const Data &rhs)
int32_t getSignatureType() const
Get SignatureType.
Holds SignatureInfo and SignatureValue in a Data packet.