apps: Adding ability to ndn::Producer to configure desired fake signature and key locator (key name)
Refs #1008 (http://redmine.named-data.net/)
diff --git a/apps/ndn-producer.h b/apps/ndn-producer.h
index 42f65aa..8349ea2 100644
--- a/apps/ndn-producer.h
+++ b/apps/ndn-producer.h
@@ -41,10 +41,10 @@
*/
class Producer : public App
{
-public:
+public:
static TypeId
GetTypeId (void);
-
+
Producer ();
// inherited from NdnApp
@@ -63,6 +63,9 @@
Name m_postfix;
uint32_t m_virtualPayloadSize;
Time m_freshness;
+
+ uint32_t m_signature;
+ Name m_keyLocator;
};
} // namespace ndn