mgmt: rename extractRequester() and support signed Interest v0.3
Change-Id: I6bb6635896fa1b9fa54beb70b902c5a35831dc9c
diff --git a/tests/daemon/mgmt/manager-common-fixture.hpp b/tests/daemon/mgmt/manager-common-fixture.hpp
index 2ae3b85..4741ea4 100644
--- a/tests/daemon/mgmt/manager-common-fixture.hpp
+++ b/tests/daemon/mgmt/manager-common-fixture.hpp
@@ -46,23 +46,17 @@
protected:
InterestSignerFixture();
- /** \brief sign a command Interest
- * \param name command name include prefix and parameters
- * \param identity signing identity
- * \return a command Interest
- */
- Interest
- makeCommandInterest(const Name& name, const Name& identity = DEFAULT_COMMAND_SIGNER_IDENTITY);
-
- /** \brief create a ControlCommand request
- * \param commandName command name including prefix, such as `/localhost/nfd/fib/add-nexthop`
- * \param params command parameters
- * \param identity signing identity
- * \return a command Interest
+ /**
+ * \brief Create a ControlCommand request
+ * \param commandName Command name including prefix, such as `/localhost/nfd/fib/add-nexthop`
+ * \param params Command parameters
+ * \param format Signed Interest format
+ * \param identity Signing identity
*/
Interest
makeControlCommandRequest(Name commandName,
const ControlParameters& params = {},
+ ndn::security::SignedInterestFormat format = ndn::security::SignedInterestFormat::V03,
const Name& identity = DEFAULT_COMMAND_SIGNER_IDENTITY);
protected: