Project

General

Profile

Actions

Task #2444

closed

Simplify KeyChain

Added by Andrew Brown over 9 years ago. Updated over 6 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Start date:
01/28/2015
Due date:
% Done:

0%

Estimated time:

Description

As per http://www.lists.cs.ucla.edu/pipermail/ndn-lib/2015-January/000237.html and associated chain, I would like to discuss simplifying the KeyChain class structure a bit. I think we could move closer to the ndn-cxx model by:

  1. moving from two-layer model (with IdentityManager) to a KeyChain with a TPM instance and a PIB instance
  2. creating an Identity -> Key -> Certificate class chain (e.g. keyChain.getIdentity(...).getKeys(...) or .getDefaultKey(...)); this would allow us to remove some extra methods like getCertificate(), getDefaultCertificateNameForIdentity(), etc.
  3. removing all generate... methods from KeyChain; expose the TPM with getTPM() and allow generation there.

Thoughts?

Actions

Also available in: Atom PDF