security: Change to use IdentityCertificate instead of Certificate where needed.
diff --git a/include/ndn-cpp/security/identity/basic-identity-storage.hpp b/include/ndn-cpp/security/identity/basic-identity-storage.hpp
index 2e0db30..ee1a886 100644
--- a/include/ndn-cpp/security/identity/basic-identity-storage.hpp
+++ b/include/ndn-cpp/security/identity/basic-identity-storage.hpp
@@ -123,14 +123,14 @@
* @param certificate The certificate to be added.
*/
void
- addAnyCertificate (const Certificate& certificate);
+ addAnyCertificate (const IdentityCertificate& certificate);
/**
* Add a certificate to the identity storage.
- * @param certificate The certificate to be added.
+ * @param certificate The certificate to be added. This makes a copy of the certificate.
*/
virtual void
- addCertificate(const Certificate& certificate);
+ addCertificate(const IdentityCertificate& certificate);
/**
* Get a certificate from the identity storage.