22 #ifndef NDN_SECURITY_PIB_IDENTITY_CONTAINER_HPP 23 #define NDN_SECURITY_PIB_IDENTITY_CONTAINER_HPP 29 #include <unordered_map> 80 std::set<Name>::const_iterator m_it;
96 find(
const Name& keyId)
const;
105 add(
const Name& identityName);
111 remove(
const Name& identity);
118 get(
const Name& identity)
const;
135 isConsistent()
const;
145 const std::set<Name>&
146 getIdentityNames()
const 148 return m_identityNames;
151 const std::unordered_map<Name, shared_ptr<detail::IdentityImpl>>&
152 getLoadedIdentities()
const 158 std::set<Name> m_identityNames;
160 mutable std::unordered_map<Name, shared_ptr<detail::IdentityImpl>> m_identities;
162 shared_ptr<PibImpl> m_pibImpl;
174 #endif // NDN_SECURITY_PIB_IDENTITY_CONTAINER_HPP
bool operator==(const Identity &lhs, const Identity &rhs)
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
Represents an absolute name.
std::ptrdiff_t difference_type
Container of identities of a Pib.
bool operator!=(const Identity &lhs, const Identity &rhs)
A frontend handle of an Identity.
std::forward_iterator_tag iterator_category