7 #ifndef NDN_SIGNATURE_HPP 
    8 #define NDN_SIGNATURE_HPP 
  110     return !(*
this == other);
 
  122 #endif // NDN_SIGNATURE_HPP 
bool hasValue() const 
Check if the Block has value block (no type and length are encoded) 
void setInfo(const Block &info)
bool operator==(const Signature &other) const 
Class representing wire element of the NDN packet. 
const Block & getValue() const 
uint64_t readNonNegativeInteger(const Block &block)
Error(const std::string &what)
void setValue(const Block &value)
bool operator!=(const Signature &other) const 
const Block & get(uint32_t type) const 
Get the first subelement of the requested type. 
void reset()
Reset wire buffer of the element. 
void parse() const 
Parse wire buffer into subblocks. 
const Block & getInfo() const 
void encode()
Encode subblocks into wire buffer. 
bool hasWire() const 
Check if the Block has fully encoded wire. 
A Signature is storage for the signature-related information (info and value) in a Data packet...