[Mini-NDN] [Ndn-interest] Interest Signature

Lan Wang (lanwang) lanwang at memphis.edu
Sat Jan 12 15:21:56 PST 2019



Begin forwarded message:


The attached message has been automatically discarded.
From: Zhiyi Zhang <Zhiyi.Zhang at ucla.edu<mailto:Zhiyi.Zhang at ucla.edu>>
Subject: Re: [Ndn-interest] Interest Signature
Date: January 12, 2019 at 1:35:33 PM CST
To: 侯 ?博 <ningbo.Hou at outlook.com<mailto:ningbo.Hou at outlook.com>>
Cc: "ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>>, "mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>" <mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>>


Actually, we have a pending commit waiting to be merged into NDN-TLV specification: https://gerrit.named-data.net/c/NDN-TLV/+/4942
This commit defines the new NDN Signed Interest format.
Also, there is a corresponding implementation in ndn-lite library: https://github.com/named-data-iot/ndn-lite/blob/master/encode/signed-interest.h and https://github.com/named-data-iot/ndn-lite/blob/master/encode/signed-interest.c.

Hope it helps.

Best,
Zhiyi

On Fri, Jan 11, 2019 at 8:20 PM 侯 ?博 via Ndn-interest <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>> wrote:
Hello all,
I want to add signature for Interest packet. So I do some actions as follow:
Firstly, I add a member named m_signature in Interest.hpp.
Secondly, I add set and get function for this field of m_signature in interest.hpp.
Thirdly, I change the function of wireEncode and wireDecode in interest.cpp to encode and decode it.
Finally, I  add a value for m_signature  in ndn-consumer.cpp.
However, when I run the test program of ndn-simple,it shows the folloing errors,is there anyone can help me to resolve it.

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::Interest::Error> >'
what():  unrecognized element of critical type 4294967295

Thanks a lot.


_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20190112/28933a0d/attachment.html>


More information about the Mini-NDN mailing list