[ndnSIM] Error message : 'variable' has not been declared
russope0625 at gmail.com
Mon Aug 30 04:07:01 PDT 2021
I'm trying to generate a identity for the producer to create key.
These are the extra code of my ndn-producer.cpp:
auto id = key.chain.createIdentity("p1",(RSA,1))
When I run ./waf, I received an error message:
error: 'RSA' was not declared in this scope; did you mean
However, when I replaced RSA with ndn::KeyType::RSA :
error: 'ns3::ndn::KeyType' has not been declared
auto id = key.chain.createIdentity("p1",(ndn::KeyType::RSA,1))
Could anyone help me with this? Any help will be appreciated.
My best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM