prepare for using TLV in probe
Change-Id: I40dbf460909a20610b4e99be4701c58f80b1bc46
diff --git a/src/protocol-detail/info.hpp b/src/protocol-detail/info.hpp
index 9c190f2..a21040e 100644
--- a/src/protocol-detail/info.hpp
+++ b/src/protocol-detail/info.hpp
@@ -29,9 +29,15 @@
class INFO {
public:
+ /**
+ * Encode CA configuration and its certificate into a TLV block as INFO Data packet content.
+ */
static Block
- encodeContentFromCAConfig(const CaConfig& caConfig, const security::v2::Certificate& certificate);
+ encodeDataContent(const CaConfig& caConfig, const security::v2::Certificate& certificate);
+ /**
+ * Decode CA configuration from the TLV block of INFO Data packet content.
+ */
static ClientCaItem
decodeClientConfigFromContent(const Block& block);
};