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

Thompson, Jeff jefft0 at remap.ucla.edu
Fri Jul 1 12:03:18 PDT 2016


Hello ndn-cxx team,

SegmentFetcher::fetch takes a Validator to validate fetched segments.
https://github.com/named-data/ndn-cxx/blob/master/src/util/segment-fetcher.hpp#L141

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?

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


More information about the Ndn-lib mailing list