TLV encoding to replace JSON format message
diff --git a/src/client-module.hpp b/src/client-module.hpp
index 57ae01f..f45b034 100644
--- a/src/client-module.hpp
+++ b/src/client-module.hpp
@@ -71,7 +71,7 @@
generateInfoInterest(const Name& caName);
bool
- verifyProbeInfoResponse(const Data& reply);
+ verifyInfoResponse(const Data& reply);
/**
* @brief Process the replied PROBE INFO Data packet
@@ -80,7 +80,7 @@
* can be verified in later challenge phase.
*/
void
- addCaFromProbeInfoResponse(const Data& reply);
+ addCaFromInfoResponse(const Data& reply);
shared_ptr<Interest>
generateProbeInterest(const ClientCaItem& ca, const std::string& probeInfo);
@@ -97,7 +97,7 @@
onNewResponse(const Data& reply);
shared_ptr<Interest>
- generateChallengeInterest(const JsonSection& paramJson);
+ generateChallengeInterest(const Block& paramTLV);
void
onChallengeResponse(const Data& reply);
@@ -145,7 +145,7 @@
std::string m_challengeStatus = "";
std::string m_challengeType = "";
std::string m_certId = "";
- std::string m_issuedCertName = "";
+ Name m_issuedCertName;
std::list<std::string> m_challengeList;
bool m_isCertInstalled = false;
bool m_isNewlyCreatedIdentity = false;