<div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default">​<div class="gmail_default" style="font-family:tahoma,sans-serif">Junxiao,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks for the answer.<br><br></div>I did as you said:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">    auto advertiseCommand = make_shared<Interest>();<br>    Name command = Name("/localhost/nlsr/prefix-u<wbr>pdate/advertise");<br>    ndn::nfd::ControlParameters parameters;<br>    parameters.setName(Name("/<wbr>updated-prefix"));<br>    advertiseCommand->setName(comm<wbr>and.append(parameters.wireEnco<wbr>de()));<br>    m_keyChain.sign(*<wbr>advertiseCommand);<br>    m_transmittedInterests(adverti<wbr>seCommand,this,m_face);<br>    m_appLink->onReceiveInterest(*<wbr>advertiseCommand);</blockquote><div><br></div>And you can see that the interest is signed:<br><br>6s
 2 nfd.Forwarder:<wbr>onIncomingInterest(): [DEBUG] onIncomingInterest 
face=261 
interest=/localhost/nlsr/<wbr>prefix-update/advertise/h%12%<wbr>07%10%08%0Eupdated-prefix/%<wbr>17p/n%29%05B%EE%F41g/%164%1B%<wbr>01%01%1C%2F%07-%08%0Ctmp-<wbr>identity%08%04Z%21%0A%16%08%<wbr>03KEY%08%09ksk-16106%08%07ID-<wbr>CERT/%17%FD%01%00%A0%9A%8CS%<wbr>7CQU%24%E9%A7%5B%AE%84%5B%C0%<wbr>9D%19W%5B%F6%FA%15%BC%8B%F8%<wbr>FD%D4B%F7%F4%A7%03%C5SDY%A1%<wbr>98%B3%A9%17%7B%DDE%D1JF%5E%F1%<wbr>0A%7BY%13qA%24HP%DEV%D4%F0%<wbr>F6Qr%27y%EA-L%82%A1u%01%2A%F2%<wbr>FB%16%B4%82%02%18%8D%B7Z%C4%<wbr>22%7C%E8SU%98%E5%C1%CF%D2%1FE%<wbr>21%D0A%FD%40%85%C3D%94D%B6%95%<wbr>FA%10%1AS%19%1E13%7C6%BC%21%<wbr>86%D7q%9A%CC%1D%C3%13d%90%C9%<wbr>C3%14%AB%3D%BA%AA%E4%A3%3C%<wbr>98U%CF%7F%BC.j%9B%0C0ui%40%<wbr>CBnMa%B8%19%2FWR%06%90D%EF%92%<wbr>EEM%F6%0Am%25%FF%95%97%CF%F6%<wbr>84W+%FCA%3D%FB%8B%8A%CA-1%98%<wbr>8A%5B%1F%14%D3%CB%25%16%B5%95%<wbr>8AB%D66%13%B5%A8m%F5%8F%1E1o%<wbr>ADx%0EX%D1LFrS%BF%81%B5%92m%<wbr>A2%26%91%D71o%FA%CCA%AC%BB7%<wbr>FFI%210%8DW%E5%F6ctO%2C%3A%CF<br><br>But then again:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">terminate
 called after throwing an instance of 
'boost::exception_detail::<wbr>clone_impl<boost::exception_<wbr>detail::error_info_injector<<wbr>ndn::name::Component::Error>
 >'<br>  what():  Name component does not have the requested marker or the value is not a nonNegativeInteger</blockquote><div><br></div><div>I
 don't think it is a bug. I guess there is something I should've done 
but didn't and I'm looking for it. But if it is, I will post a complete 
report of the environment, steps to reproduce, expected/actual result 
and so on.<br><br></div><div>Thanks,<br></div>Sabet​</div><br></div>