face: internal KeyChain
refs #2039
This commit deprecates:
* nfd::Controller::Controller(Face&)
Change-Id: Iecc60c45ba6134dbcc34f58dcdf6a171e7b05253
diff --git a/src/management/nfd-controller.hpp b/src/management/nfd-controller.hpp
index cd8db1d..c94fa10 100644
--- a/src/management/nfd-controller.hpp
+++ b/src/management/nfd-controller.hpp
@@ -56,6 +56,7 @@
/** \brief construct a Controller that uses face for transport,
* and has an internal default KeyChain to sign commands
+ * \deprecated use two-parameter overload
*/
explicit
Controller(Face& face);
@@ -208,7 +209,11 @@
protected:
Face& m_face;
+
+ /** \deprecated
+ */
shared_ptr<KeyChain> m_internalKeyChain;
+
KeyChain& m_keyChain;
};