| #ifndef NLSR_CERT_STORE_ENTRY_HPP |
| #define NLSR_CERT_STORE_ENTRY_HPP |
| #include <ndn-cpp-dev/face.hpp> |
| #include <ndn-cpp-dev/security/identity-certificate.hpp> |
| class CertificateStoreEntry |
| : m_cert(ndn::make_shared<ndn::IdentityCertificate>()) |
| , m_isSignerVerified(false) |
| CertificateStoreEntry(ndn::shared_ptr<ndn::IdentityCertificate> pcert |
| , uint32_t csn, bool isv) |
| , m_isSignerVerified(isv) |
| ndn::shared_ptr<ndn::IdentityCertificate> |
| setCert(ndn::shared_ptr<ndn::IdentityCertificate> pcert) |
| setCertSeqNum(uint32_t csn) |
| getIsSignerVerified() const |
| return m_isSignerVerified; |
| setIsSignerVerified(bool isv) |
| m_isSignerVerified = isv; |
| ndn::shared_ptr<ndn::IdentityCertificate> m_cert; |
| operator <<(std::ostream& os, const CertificateStoreEntry& ncse); |
| #endif //NLSR_CERT_STORE_ENTRY_HPP |