Probe: add probe token to New and Challenge
Change-Id: Iae8b009bb2e78f03910e53fb49e750ebc8a6e6ae
diff --git a/src/ca-module.hpp b/src/ca-module.hpp
index 9f40c24..3926d97 100644
--- a/src/ca-module.hpp
+++ b/src/ca-module.hpp
@@ -64,6 +64,12 @@
bool
setStatusUpdateCallback(const StatusUpdateCallback& onUpdateCallback);
+ static JsonSection
+ jsonFromBlock(const Block& block);
+
+ static Block
+ dataContentFromJson(const JsonSection& jsonSection);
+
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
void
onProbe(const Interest& request);
@@ -86,15 +92,9 @@
security::v2::Certificate
issueCertificate(const CertificateRequest& certRequest);
- static Block
- dataContentFromJson(const JsonSection& jsonSection);
-
void
registerPrefix();
- static JsonSection
- jsonFromBlock(const Block& block);
-
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
const JsonSection
genProbeResponseJson(const Name& identifier,