security: In IdentityManager, move addCertificateAsDefault into the cpp file. Publish certificate.hpp
diff --git a/include/ndn-cpp/security/identity/identity-manager.hpp b/include/ndn-cpp/security/identity/identity-manager.hpp
index 08f0434..2dd9b6e 100644
--- a/include/ndn-cpp/security/identity/identity-manager.hpp
+++ b/include/ndn-cpp/security/identity/identity-manager.hpp
@@ -126,11 +126,7 @@
* certificate the certificate to be added
*/
void
- addCertificateAsDefault(const Certificate& certificate)
- {
- identityStorage_->addCertificate(certificate);
- setDefaultCertificateForKey(certificate.getName());
- }
+ addCertificateAsDefault(const Certificate& certificate);
/**
* Get a certificate with the specified name.