22 #ifndef NDN_CXX_SECURITY_PIB_KEY_CONTAINER_HPP 
   23 #define NDN_CXX_SECURITY_PIB_KEY_CONTAINER_HPP 
   29 #include <unordered_map> 
   81     std::set<Name>::const_iterator m_it;
 
  110   add(span<const uint8_t> key, 
const Name& keyName);
 
  125   get(
const Name& keyName) 
const;
 
  142   const std::set<Name>&
 
  148   const std::unordered_map<Name, shared_ptr<detail::KeyImpl>>&
 
  149   getLoadedKeys()
 const 
  156   std::set<Name> m_keyNames;
 
  158   mutable std::unordered_map<Name, shared_ptr<detail::KeyImpl>> m_keys;
 
  160   shared_ptr<PibImpl> m_pib;
 
  163   friend detail::IdentityImpl;
 
  169 using pib::KeyContainer;
 
Represents an absolute name.
 
std::forward_iterator_tag iterator_category
 
const_iterator & operator++()
 
bool operator!=(const const_iterator &other)
 
std::ptrdiff_t difference_type
 
bool operator==(const const_iterator &other)
 
Container of keys of an identity.
 
Key add(span< const uint8_t > key, const Name &keyName)
Add key with name keyName into the container.
 
Key get(const Name &keyName) const
Get a key with keyName from the container.
 
const_iterator find(const Name &keyName) const
 
bool isConsistent() const
Check if the container is consistent with the backend storage.
 
const_iterator begin() const
 
const_iterator end() const
 
void remove(const Name &keyName)
Remove a key with keyName from the container.
 
A frontend handle of a key instance.
 
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE