61 if (!publisherPublicKeyLocator.
empty()) {
68 if (publisherPublicKeyLocator.
wireEncode() != *it) {
100 os << delim <<
"ndn.Scope=" << interest.
getScope();
110 os << delim <<
"ndn.Nonce=" << interest.
getNonce();
114 os << delim <<
"ndn.Exclude=" << interest.
getExclude();
int getMinSuffixComponents() const
int getMaxSuffixComponents() const
const Name & getName() const
bool matchesName(const Name &name) const
Check if Interest name matches the given name (using ndn_Name_match) and the given name also conforms...
element_const_iterator find(uint32_t type) const
Class representing wire element of the NDN packet.
An Interest holds a Name and other fields for an interest.
const time::milliseconds & getInterestLifetime() const
int getChildSelector() const
const Name & getName() const
element_const_iterator elements_end() const
uint32_t generateWord32()
bool isExcluded(const name::Component &comp) const
Check if name component is excluded.
int getMustBeFresh() const
const time::seconds DEFAULT_INTEREST_LIFETIME
const Exclude & getExclude() const
element_container::const_iterator element_const_iterator
size_t size() const
Get the number of components.
A Name holds an array of Name::Component and represents an NDN name.
bool matchesData(const Data &data) const
Determines whether this Interest can be satisfied by data.
const Signature & getSignature() const
bool empty() const
Check if exclude filter is empty.
const Block & getInfo() const
bool isPrefixOf(const Name &name) const
Check if the N components of this name are the same as the first N components of the given name...
const KeyLocator & getPublisherPublicKeyLocator() const
size_t wireEncode(EncodingImpl< T > &block) const
std::ostream & operator<<(std::ostream &os, const Data &data)
const uint32_t & getNonce() const
Get Interest's nonce.
A Signature is storage for the signature-related information (info and value) in a Data packet...