<div dir="ltr">Dear members,<div><br></div><div>I'm trying to generate a identity for the producer to create key.</div><div><br></div><div>These are the extra code of my ndn-producer.cpp:</div><div>#include "ndn-cxx/security/v2/key-chain.hpp"</div><div>#include "ndn-cxx/security/key-params.hpp"<br></div><div>#include "ndn-cxx/security/security-common.hpp"<br></div><div>...</div><div>ndn::KeyChain keyChain;</div><div>auto id = key.chain.createIdentity("p1",(RSA,1))</div><div><br></div><div>When I run ./waf, I received an error message:</div><div>error: 'RSA' was not declared in this scope; did you mean 'ndn::KeyType::RSA' ?</div><div><br></div><div>However, when I replaced RSA with ndn::KeyType::RSA :</div><div>error: 'ns3::ndn::KeyType' has not been declared<br></div><div><div>auto id = key.chain.createIdentity("p1",(ndn::KeyType::RSA,1))</div><div>                                                                       ^~~~~~~</div><div><br></div></div><div>Could anyone help me with this? Any help will be appreciated.</div><div><br></div><div>My best regards.</div><div>Peter</div><div><div><br></div></div><div><br></div></div>