Project

General

Profile

Actions

Task #2250

closed

ndns-list-zone: Change output format for ID-CERTs

Added by Alex Afanasyev over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/30/2014
Due date:
% Done:

0%

Estimated time:

Description

The updated format should be

/dsk-1417416866979  3600  ID-CERT  ; content-type=NDNS-Raw version=%FD%00%00%01J%04%A3%5D%E5 signed-by=/ndn/KEY/ksk-1397537228649/ID-CERT
; Certificate name:
;   /ndn/KEY/dsk-1417416866979/ID-CERT/%FD%00%00%01J%04%A3%5D%E5
; Validity:
;   NotBefore: 20140414T000000
;   NotAfter: 20181231T235959
; Subject Description:
;   2.5.4.41: NDN Testbed Root
; Public key bits:
;   MIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEAv9eicg0TgoEgLkbcBpve
;   4mbP2d//idNFrb+1YM+fk2i2qz/6HiL/EXsu6wpsFeS6AtGNhwmw7VshV/n3v3bV
;   TwukJ9B2FrEFZ+vbozhmxneLZxVqcG/FOd5lBZhqGyDwzSAD6MwVtKSmBWEywB9V
;   H5QI+Fy8+Rn/3hUeg6rc1p7fpFFbrilrRAoK5SW4VFWsCFkP3OP5Akczx9o6U4lM
;   ueyz2+OCBvkxa791LxxgR9j2j86hWWlt4JsKhAl2EZzQ1aESalPH9RkdJQQMpFXr
;   rjcRPHrfJC1P31Yinj5VUECjGHUPPyLh48GOAGwMlNbunfHGt47F5b+d0go2lTO/
;   9QIB

Related issues 2 (0 open2 closed)

Blocked by ndn-cxx - Feature #2238: IndentedStreamClosedAlex Afanasyev

Actions
Blocked by ndn-cxx - Bug #2723: IndentedStream duplicates output when stream is flushed multiple timesClosedAlex Afanasyev04/02/2015

Actions
Actions #1

Updated by Alex Afanasyev over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Alex Afanasyev over 9 years ago

Actions #3

Updated by Alex Afanasyev over 9 years ago

It will be very simple to implement the proposed change, after IndentedStream is added to ndn-cxx as a separate class (or you can copy it from certificate.cpp):

  • create IdentityCertificate from wire
  • create IdentedStream using std::cout
  • IdentedStream << IdentityCertificate
Actions #4

Updated by Jiewen Tan about 9 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Jiewen Tan about 9 years ago

  • Status changed from In Progress to Code review
Actions #6

Updated by Alex Afanasyev about 9 years ago

  • Blocked by Bug #2723: IndentedStream duplicates output when stream is flushed multiple times added
Actions #7

Updated by Jiewen Tan about 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF