Add functionality of endorsement
diff --git a/src/endorse-certificate.h b/src/endorse-certificate.h
index 3b992c4..1b9b897 100644
--- a/src/endorse-certificate.h
+++ b/src/endorse-certificate.h
@@ -57,16 +57,14 @@
public:
EndorseCertificate() {}
+ // EndorseCertificate(const ndn::security::IdentityCertificate& kskCertificate);
+
EndorseCertificate(const ndn::security::IdentityCertificate& kskCertificate,
- const ndn::Time& notBefore,
- const ndn::Time& notAfter,
ndn::Ptr<ProfileData> profileData,
- const std::vector<std::string>& endorseList);
+ const std::vector<std::string>& endorseList = std::vector<std::string>());
EndorseCertificate(const EndorseCertificate& endorseCertificate,
const ndn::Name& signer,
- const ndn::Time& notBefore,
- const ndn::Time& notAfter,
const std::vector<std::string>& endorseList);
EndorseCertificate(const EndorseCertificate& endorseCertificate);