[Ndn-lib] ndn-cxx: Which segment failed validation in SegmentFetcher

Junxiao Shi shijunxiao at email.arizona.edu
Fri Jul 1 12:33:49 PDT 2016

Hi JeffT

#3412 should give you more specific error, such as invalid signature vs cannot fetch certificate.
You may suggest on #3412 to also give information on segment number.

Yours, Junxiao

-----Original Message-----
From: "Thompson, Jeff" <jefft0 at remap.ucla.edu>
Sent: ‎7/‎1/‎2016 12:03
To: "NDN Lib" <ndn-lib at lists.cs.ucla.edu>
Subject: [Ndn-lib] ndn-cxx: Which segment failed validation in SegmentFetcher

Hello ndn-cxx team,

SegmentFetcher::fetch takes a Validator to validate fetched segments.

If a validation fails, it calls the errorCallback with SEGMENT_VALIDATION_FAIL. Is there a way for the application to know which segment failed validation? And is there a way to know if it was the segment Data packet, or one of the certificates in its certificate chain?

- Jeff T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20160701/2ca88d66/attachment.html>

More information about the Ndn-lib mailing list