22 #ifndef NDN_SECURITY_PIB_CERTIFICATE_CONTAINER_HPP 23 #define NDN_SECURITY_PIB_CERTIFICATE_CONTAINER_HPP 29 #include <unordered_map> 80 std::set<Name>::const_iterator m_it;
96 find(
const Name& certName)
const;
113 remove(
const Name& certName);
121 get(
const Name& certName)
const;
128 isConsistent()
const;
137 const std::set<Name>&
143 const std::unordered_map<Name, v2::Certificate>&
151 std::set<Name> m_certNames;
153 mutable std::unordered_map<Name, v2::Certificate> m_certs;
155 shared_ptr<PibImpl> m_pib;
157 friend class detail::KeyImpl;
167 #endif // NDN_SECURITY_PIB_CERTIFICATE_CONTAINER_HPP
The certificate following the certificate format naming convention.
bool operator==(const Identity &lhs, const Identity &rhs)
std::forward_iterator_tag iterator_category
Container of certificates of a key.
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
Represents an absolute name.
const Certificate value_type
bool operator!=(const Identity &lhs, const Identity &rhs)
std::ptrdiff_t difference_type