major change: Add security support & Adjust GUI

Change-Id: I7abef37169dec1ef4b68e760dee5214c147c1915
diff --git a/src/endorse-certificate.h b/src/endorse-certificate.h
index 7352a4d..42f255f 100644
--- a/src/endorse-certificate.h
+++ b/src/endorse-certificate.h
@@ -24,15 +24,25 @@
 public:
   struct Error : public ndn::Certificate::Error { Error(const std::string &what) : ndn::Certificate::Error(what) {} };
 
+  static const std::vector<std::string> DEFAULT_ENDORSE_LIST;
+
   EndorseCertificate() {}
 
   EndorseCertificate(const ndn::IdentityCertificate& kskCertificate,
                      const Profile& profile,
-                     const std::vector<std::string>& endorseList = std::vector<std::string>());
+                     const std::vector<std::string>& endorseList = DEFAULT_ENDORSE_LIST);
 
   EndorseCertificate(const EndorseCertificate& endorseCertificate,
                      const ndn::Name& signer,
-                     const std::vector<std::string>& endorseList);
+                     const std::vector<std::string>& endorseList = DEFAULT_ENDORSE_LIST);
+
+  EndorseCertificate(const ndn::Name& keyName,
+                     const ndn::PublicKey& key,
+                     ndn::MillisecondsSince1970 notBefore,
+                     ndn::MillisecondsSince1970 notAfter,
+                     const ndn::Name& signer,
+                     const Profile& profile,
+                     const std::vector<std::string>& endorseList = DEFAULT_ENDORSE_LIST);
 
   EndorseCertificate(const EndorseCertificate& endorseCertificate);
 
@@ -63,7 +73,7 @@
   static const ndn::OID ENDORSE_EXT_OID;
 
   ndn::Name m_keyName;
-  ndn::Name m_signer;
+  ndn::Name m_signer; // signing key name
   Profile m_profile;
   std::vector<std::string> m_endorseList;
 };