File name format change and Removed warning messages (Except warning from boost for Logging)
Change-Id: If3a3a5411d377d925527fc3e8809c228a9a81e26
diff --git a/src/security/certificate-store-entry.hpp b/src/security/certificate-store-entry.hpp
new file mode 100644
index 0000000..1257129
--- /dev/null
+++ b/src/security/certificate-store-entry.hpp
@@ -0,0 +1,72 @@
+#ifndef NLSR_CERT_STORE_ENTRY_HPP
+#define NLSR_CERT_STORE_ENTRY_HPP
+
+#include <iostream>
+#include <ndn-cpp-dev/face.hpp>
+#include <ndn-cpp-dev/security/identity-certificate.hpp>
+
+namespace nlsr {
+class CertificateStoreEntry
+{
+public:
+ CertificateStoreEntry()
+ : m_cert(ndn::make_shared<ndn::IdentityCertificate>())
+ , m_certSeqNum(0)
+ , m_isSignerVerified(false)
+ {}
+
+ CertificateStoreEntry(ndn::shared_ptr<ndn::IdentityCertificate> pcert
+ , uint32_t csn, bool isv)
+ : m_cert(pcert)
+ , m_certSeqNum(csn)
+ , m_isSignerVerified(isv)
+ {}
+
+ ndn::shared_ptr<ndn::IdentityCertificate>
+ getCert() const
+ {
+ return m_cert;
+ }
+
+ void
+ setCert(ndn::shared_ptr<ndn::IdentityCertificate> pcert)
+ {
+ m_cert = pcert;
+ }
+
+ uint32_t
+ getCertSeqNum() const
+ {
+ return m_certSeqNum;
+ }
+
+ void
+ setCertSeqNum(uint32_t csn)
+ {
+ m_certSeqNum = csn;
+ }
+
+ bool
+ getIsSignerVerified() const
+ {
+ return m_isSignerVerified;
+ }
+
+ void
+ setIsSignerVerified(bool isv)
+ {
+ m_isSignerVerified = isv;
+ }
+
+private:
+ ndn::shared_ptr<ndn::IdentityCertificate> m_cert;
+ uint32_t m_certSeqNum;
+ bool m_isSignerVerified;
+};
+/* Debugging Purpose */
+std::ostream&
+operator <<(std::ostream& os, const CertificateStoreEntry& ncse);
+
+}//namespace NLSR
+
+#endif //NLSR_CERT_STORE_ENTRY_HPP