22 #ifndef NDN_SECURITY_PIB_CERTIFICATE_CONTAINER_HPP 23 #define NDN_SECURITY_PIB_CERTIFICATE_CONTAINER_HPP 25 #include "../v2/certificate.hpp" 28 #include <unordered_map> 49 class const_iterator :
public std::iterator<std::forward_iterator_tag, const v2::Certificate>
73 std::set<Name>::const_iterator m_it;
89 find(
const Name& certName)
const;
106 remove(
const Name& certName);
114 get(
const Name& certName)
const;
121 isConsistent()
const;
130 const std::set<Name>&
136 const std::unordered_map<Name, v2::Certificate>&
144 std::set<Name> m_certNames;
146 mutable std::unordered_map<Name, v2::Certificate> m_certs;
148 shared_ptr<PibImpl> m_pib;
150 friend class detail::KeyImpl;
160 #endif // NDN_SECURITY_PIB_CERTIFICATE_CONTAINER_HPP Copyright (c) 2013-2017 Regents of the University of California.
The certificate following the certificate format naming convention.
bool operator==(const Identity &lhs, const Identity &rhs)
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
Container of certificates of a key.
Represents an absolute name.
bool operator!=(const Identity &lhs, const Identity &rhs)