SelfEndorseCertificate is working
diff --git a/src/profile-data.cpp b/src/profile-data.cpp
index b779adc..f057a6d 100644
--- a/src/profile-data.cpp
+++ b/src/profile-data.cpp
@@ -11,10 +11,14 @@
#include "profile-data.h"
#include "exception.h"
#include <ndn.cxx/fields/signature-sha256-with-rsa.h>
+#include "logging.h"
+
using namespace ndn;
using namespace std;
+INIT_LOGGER("ProfileData");
+
ProfileData::ProfileData(const Name& identity,
const Profile& profile)
: Data()
@@ -57,6 +61,7 @@
ProfileData::ProfileData(const Data& data)
: Data()
{
+ // _LOG_DEBUG("ProfileData constructor");
const Name& dataName = data.getName();
name::Component appFlag(string("PROFILE"));
@@ -90,6 +95,7 @@
setSignature(newSig);
setContent(data.getContent());
setSignedBlob(newSignedBlob);
-
+ // _LOG_DEBUG("Decode Profile");
m_profile = *Profile::fromDerBlob(data.content());
+ // _LOG_DEBUG("Profile Decoded");
}