22 #ifndef NDN_CXX_SECURITY_ADDITIONAL_DESCRIPTION_HPP 
   23 #define NDN_CXX_SECURITY_ADDITIONAL_DESCRIPTION_HPP 
   48   typedef std::map<std::string, std::string>::iterator 
iterator;
 
   64   get(
const std::string& key) 
const;
 
   67   set(
const std::string& key, 
const std::string& value);
 
   70   has(
const std::string& key) 
const;
 
   81     return m_info.empty();
 
   98   template<encoding::Tag TAG>
 
  120     return lhs.m_info == rhs.m_info;
 
  126     return lhs.m_info != rhs.m_info;
 
  130   std::map<std::string, std::string> m_info;
 
  132   mutable Block m_wire;
 
Represents a TLV element of the NDN packet format.
 
Represents an AdditionalDescription TLV element.
 
std::map< std::string, std::string >::const_iterator const_iterator
 
const Block & wireEncode() const
Encode ValidityPeriod into TLV block.
 
friend bool operator==(const AdditionalDescription &lhs, const AdditionalDescription &rhs)
 
void set(const std::string &key, const std::string &value)
 
const std::string & get(const std::string &key) const
 
bool has(const std::string &key) const
 
void wireDecode(const Block &wire)
Decode ValidityPeriod from TLV block.
 
AdditionalDescription()=default
Create an empty AdditionalDescription.
 
friend bool operator!=(const AdditionalDescription &lhs, const AdditionalDescription &rhs)
 
std::map< std::string, std::string >::iterator iterator
 
represents an error in TLV encoding or decoding
 
Error(const char *expectedType, uint32_t actualType)
 
Common includes and macros used throughout the library.
 
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
 
std::ostream & operator<<(std::ostream &os, const AdditionalDescription &desc)