Project

General

Profile

Feature #2376

Updated by Yingdi Yu almost 10 years ago

Command Since signed interest validation requires both signature verification and timestamp (as well as nonce) checking.  

 There are several potential ways to handle signature verification (e.g., `ValidatorRegex` and `ValidatorConfig`), while there are also several potential ways to handle timestamp checking (e.g., send-and-stop, session-based control). A desired abstraction becomes a de facto procedure of validators, 
 it would be desired to separate the two functionalities apart.  

 For example, having provide this functionality as a command interest validator which has a pointer to a part of Validator object class,  
 rather than implementing it in the actual implementations such as a member, ValidatorRegex and provide timestamp checking outside of ValidatorConfig. 

 This task may also change the normal Validator class. validation framework in Validator.

Back