TLV encoding to replace JSON format message
diff --git a/src/challenge-module/challenge-credential.hpp b/src/challenge-module/challenge-credential.hpp
index 5d4a93c..bf53175 100644
--- a/src/challenge-module/challenge-credential.hpp
+++ b/src/challenge-module/challenge-credential.hpp
@@ -53,7 +53,7 @@
// For CA
void
- handleChallengeRequest(const JsonSection& params, CertificateRequest& request) override;
+ handleChallengeRequest(const Block& params, CertificateRequest& request) override;
// For Client
JsonSection
@@ -62,6 +62,9 @@
JsonSection
genChallengeRequestJson(int status, const std::string& challengeStatus, const JsonSection& params) override;
+ Block
+ genChallengeRequestTLV(int status, const std::string& challengeStatus, const JsonSection& params) override;
+
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
void
parseConfigFile();