22 #ifndef NDN_SECURITY_PIB_KEY_CONTAINER_HPP 23 #define NDN_SECURITY_PIB_KEY_CONTAINER_HPP 29 #include <unordered_map> 81 std::set<Name>::const_iterator m_it;
97 find(
const Name& keyName)
const;
109 add(
const uint8_t* key,
size_t keyLen,
const Name& keyName);
116 remove(
const Name& keyName);
124 get(
const Name& keyName)
const;
132 isConsistent()
const;
141 const std::set<Name>&
147 const std::unordered_map<Name, shared_ptr<detail::KeyImpl>>&
148 getLoadedKeys()
const 155 std::set<Name> m_keyNames;
157 mutable std::unordered_map<Name, shared_ptr<detail::KeyImpl>> m_keys;
159 shared_ptr<PibImpl> m_pib;
161 friend class detail::IdentityImpl;
171 #endif // NDN_SECURITY_PIB_KEY_CONTAINER_HPP
bool operator==(const Identity &lhs, const Identity &rhs)
Container of keys of an identity.
A frontend handle of a key instance.
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
std::ptrdiff_t difference_type
Represents an absolute name.
std::forward_iterator_tag iterator_category
bool operator!=(const Identity &lhs, const Identity &rhs)