[Ndn-interest] Interest Signature

Zhiyi Zhang Zhiyi.Zhang at ucla.edu
Sat Jan 12 11:35:33 PST 2019


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> 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
> 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/ndn-interest/attachments/20190112/b93db9db/attachment.html>


More information about the Ndn-interest mailing list