Project

General

Profile

Actions

Task #3912

closed

CommandInterestSigner

Added by Alex Afanasyev almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Start date:
01/05/2017
Due date:
% Done:

100%

Estimated time:

Description

v2::KeyChain::sign(Interest) intentionally does not add timestamp and nonce components, required by CommandInterest specification. The reason of not adding timestamp and nonce in KeyChain is because deduplicate is not a part of KeyChain's job. We want to make KeyChain as simple as possible. The idea is that we should create a separate class which take a normal name as input and output a name with the dedup info, and then KeyChain take the output name and append signature. This also gives us more flexibility so that we can use different dedup approach.

CommandInterestSigner helper class needed for this purposes.

Actions

Also available in: Atom PDF