security: Implement the header for IdentityCertificate.
diff --git a/include/ndn-cpp/security/certificate/identity-certificate.hpp b/include/ndn-cpp/security/certificate/identity-certificate.hpp
index e9e90f5..1dff7e9 100644
--- a/include/ndn-cpp/security/certificate/identity-certificate.hpp
+++ b/include/ndn-cpp/security/certificate/identity-certificate.hpp
@@ -26,6 +26,24 @@
* @param data The data packet with the content to decode.
*/
IdentityCertificate(const Data& data);
+
+ /**
+ * The virtual destructor.
+ */
+ virtual
+ ~IdentityCertificate();
+ Data &
+ setName (const Name& name);
+
+ virtual Name
+ getPublicKeyName () const;
+
+ static bool
+ isIdentityCertificate(const Certificate& certificate);
+
+private:
+ static bool
+ isCorrectName(const Name& name);
};
}