ndn::security::CommandInterestPreparer Class Reference

Helper class to prepare command interest name. More...

#include <ndn-cxx/security/command-interest-signer.hpp>

+ Inheritance diagram for ndn::security::CommandInterestPreparer:
+ Collaboration diagram for ndn::security::CommandInterestPreparer:

Public Member Functions

 CommandInterestPreparer ()
 
Name prepareCommandInterestName (Name name)
 Prepare name of the CommandInterest. More...
 

Detailed Description

Helper class to prepare command interest name.

The preparer adds timestamp and nonce name components to the supplied name.

This class is primarily designed to be used as part of CommandInterestSigner, but can also be using in an application that defines custom signing methods not support by the KeyChain (such as HMAC-SHA1).

See also
https://redmine.named-data.net/projects/ndn-cxx/wiki/CommandInterest

Definition at line 41 of file command-interest-signer.hpp.

Constructor & Destructor Documentation

ndn::security::CommandInterestPreparer::CommandInterestPreparer ( )

Definition at line 28 of file command-interest-signer.cpp.

Member Function Documentation

Name ndn::security::CommandInterestPreparer::prepareCommandInterestName ( Name  name)

Prepare name of the CommandInterest.

This method appends the timestamp and nonce name components to the supplied name.

Definition at line 34 of file command-interest-signer.cpp.