<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><br class="">
</span></div>
<br class="">
<div class="">The attached message has been automatically discarded.<br class="">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Zhiyi Zhang <<a href="mailto:Zhiyi.Zhang@ucla.edu" class="">Zhiyi.Zhang@ucla.edu</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [Ndn-interest] Interest Signature</b><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">January 12, 2019 at 1:35:33 PM CST<br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">侯 ?博 <<a href="mailto:ningbo.Hou@outlook.com" class="">ningbo.Hou@outlook.com</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Cc:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"<a href="mailto:ndn-interest@lists.cs.ucla.edu" class="">ndn-interest@lists.cs.ucla.edu</a>" <<a href="mailto:ndn-interest@lists.cs.ucla.edu" class="">ndn-interest@lists.cs.ucla.edu</a>>,
 "<a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a>" <<a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a>><br class="">
</span></div>
<br class="">
<br class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">Actually, we have a pending commit waiting to be merged into NDN-TLV specification: <a href="https://gerrit.named-data.net/c/NDN-TLV/+/4942" class="">https://gerrit.named-data.net/c/NDN-TLV/+/4942</a></div>
<div class="">This commit defines the new NDN Signed Interest format.</div>
<div class="">Also, there is a corresponding implementation in ndn-lite library: <a href="https://github.com/named-data-iot/ndn-lite/blob/master/encode/signed-interest.h" class="">https://github.com/named-data-iot/ndn-lite/blob/master/encode/signed-interest.h</a>
 and <a href="https://github.com/named-data-iot/ndn-lite/blob/master/encode/signed-interest.c" class="">https://github.com/named-data-iot/ndn-lite/blob/master/encode/signed-interest.c</a>.</div>
<div class=""><br class="">
</div>
<div class="">Hope it helps.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Zhiyi</div>
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Fri, Jan 11, 2019 at 8:20 PM 侯 ?博 via Ndn-interest <<a href="mailto:ndn-interest@lists.cs.ucla.edu" class="">ndn-interest@lists.cs.ucla.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="ZH-CN" class="">
<div class="gmail-m_1239373810797417950WordSection1">
<p class="MsoNormal"><span lang="EN-US" class="">Hello all,</span></p>
<p class="MsoNormal"><span lang="EN-US" class="">I want to add signature for Interest packet. So I do some actions as follow:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">Firstly, I add a member named m_signature in Interest.hpp.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">Secondly, I add set and get function for this field of m_signature in interest.hpp.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">Thirdly, I change the function of wireEncode and wireDecode in interest.cpp to encode and decode it.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">Finally, I  add a value for m_signature  in ndn-consumer.cpp.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">However, when I run the test program of ndn-simple,it shows the folloing errors</span><span style="font-size:12pt" class="">,<span lang="EN-US" class="">is there anyone can help me to resolve
 it. <u class=""></u><u class=""></u></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::Interest::Error> >' 
<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal" style="text-indent:21pt"><span lang="EN-US" style="font-size:12pt" class="">what():  unrecognized element of critical type 4294967295<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt" class="">Thanks a lot.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:SimSun" class=""><u class=""></u> <u class=""></u></span></p>
</div>
</div>
_______________________________________________<br class="">
Ndn-interest mailing list<br class="">
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br class="">
</blockquote>
</div>
<br class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>