Project

General

Profile

Feature #5004

CertificateBundle encoding and decoding

Added by Junxiao Shi 4 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
6.00 h

Description

Implement CertificateBundle low-level encoding and decoding API, as specified in #2766-30.

This issue includes these functions and types:

  • deriveCertBundleName
  • deriveCertBundlePrefixFromKeyLocator
  • encodeCertBundle
  • CertBundleDecoder

Related issues

Blocks ndn-cxx - Feature #5005: CertificateBundle publisherNew

Actions
Blocks ndn-cxx - Feature #5007: CertificateBundle fetcherNew

Actions
Blocked by ndn-cxx - Feature #4696: SegmentPublisher: segmentation utilityNew

Actions

History

#1

Updated by Junxiao Shi 4 months ago

#2

Updated by Junxiao Shi 4 months ago

  • translation missing: en.field_tag_list set to CertificateBundle
#3

Updated by Junxiao Shi 4 months ago

#4

Updated by Junxiao Shi 4 months ago

  • Description updated (diff)
#6

Updated by Jeremy Clark 3 months ago

  • Status changed from New to In Progress
#7

Updated by Jeremy Clark 3 months ago

For the deriveCertBundleName and deriveCertBundlePrefixFromKeyLocator functions, what should they return if the name passed to the function isn't correct?

#8

Updated by Junxiao Shi 3 months ago

what should they return if the name passed to the function isn't correct?

If argument is wrong, throw std::invalid_argument exception.

#9

Updated by Junxiao Shi 3 months ago

  • Blocked by Feature #4696: SegmentPublisher: segmentation utility added
#10

Updated by Junxiao Shi 3 months ago

Part of this task is blocked by #4696 because encodeCertBundle relies on SegmentPublisher.
Other parts are not blocked. You can submit a Gerrit Change when unblocked parts are ready.

#12

Updated by Jeremy Clark 3 months ago

Should I ignore encodeCertBundle for now, write the skeleton of the method around the call to the SegmentPublisher, or include a simple segmentation implementation within it?

#13

Updated by Junxiao Shi 3 months ago

Should I ignore encodeCertBundle for now, write the skeleton of the method around the call to the SegmentPublisher, or include a simple segmentation implementation within it?

You should submit a Change without encodeCertBundle and anything else that depend on SegmentPublisher.
You should also push the assignee of #4696 to complete his/her assignment, so that you can continue working on encodeCertBundle.
In either case, "simple segmentation implementation" is NOT part of this task.

Also available in: Atom PDF