security: Implement IdentityCertificate.
diff --git a/include/ndn-cpp/security/certificate/certificate-extension.hpp b/include/ndn-cpp/security/certificate/certificate-extension.hpp
index 5990cd4..d71086b 100644
--- a/include/ndn-cpp/security/certificate/certificate-extension.hpp
+++ b/include/ndn-cpp/security/certificate/certificate-extension.hpp
@@ -1,6 +1,7 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/**
* Copyright (C) 2013 Regents of the University of California.
+ * @author: Yingdi Yu <yingdi@cs.ucla.edu>
* @author: Jeff Thompson <jefft0@remap.ucla.edu>
* See COPYING for copyright and distribution information.
*/
diff --git a/include/ndn-cpp/security/certificate/identity-certificate.hpp b/include/ndn-cpp/security/certificate/identity-certificate.hpp
index 1dff7e9..8cb244d 100644
--- a/include/ndn-cpp/security/certificate/identity-certificate.hpp
+++ b/include/ndn-cpp/security/certificate/identity-certificate.hpp
@@ -19,7 +19,9 @@
/**
* The default constructor.
*/
- IdentityCertificate();
+ IdentityCertificate()
+ {
+ }
/**
* Create an IdentityCertificate from the content in the data packet.
@@ -32,11 +34,12 @@
*/
virtual
~IdentityCertificate();
- Data &
- setName (const Name& name);
+
+ Data &
+ setName(const Name& name);
virtual Name
- getPublicKeyName () const;
+ getPublicKeyName() const;
static bool
isIdentityCertificate(const Certificate& certificate);