Project

General

Profile

Actions

Task #1964

closed

PublicKey: getKeyDigest

Added by Junxiao Shi about 10 years ago. Updated about 10 years ago.

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

100%

Estimated time:
3.00 h

Description

Extend PublicKey class with a new method:

/** \return a KeyDigest TLV block that matches this public key
 */
Block
getKeyDigest() const;

KeyDigest is defined in NDN-TLV spec as:

SignatureSha256WithRsa

KeyDigest option in KeyLocator is defined as SHA256 digest over the DER encoding of the SubjectPublicKeyInfo for an RSA key as defined by RFC 3279

SignatureSha256WithEcdsa

KeyDigest option in KeyLocator is defined as SHA256 digest over the DER encoding of the SubjectPublicKeyInfo for an EC key as defined by RFC 5480

Actions #1

Updated by Junxiao Shi about 10 years ago

  • Blocks Task #1963: PIB service: retrieve key by KeyDigest added
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Blocks deleted (Task #1963: PIB service: retrieve key by KeyDigest)
Actions #3

Updated by Yingdi Yu about 10 years ago

  • Assignee set to Yingdi Yu
Actions #4

Updated by Yingdi Yu about 10 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #5

Updated by Yingdi Yu about 10 years ago

  • Status changed from Code review to Closed
Actions #6

Updated by Junxiao Shi about 10 years ago

  • Target version set to v0.3
Actions

Also available in: Atom PDF