Project

General

Profile

Feature #2376

Updated by Junxiao Shi over 8 years ago

Command 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 would be to separate the two functionalities apart. 

 This feature implements  

 For example, having a command interest validator that checks the which has a pointer to a Validator object as a member, and provide timestamp checking outside of a stop-and-wait [[CommandInterest]], while delegating signature verification to another inner validator. the normal Validator class.

Back