All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | List of all members
ndn::ConfigHyperRelationChecker Class Reference
Inheritance diagram for ndn::ConfigHyperRelationChecker:
ndn::ConfigChecker

Public Member Functions

 ConfigHyperRelationChecker (const std::string &packetNameRegexString, const std::string &packetNameExpansion, const std::string &keyNameRegexString, const std::string &keyNameExpansion, ConfigNameRelation::Relation hyperRelation)
 
- Public Member Functions inherited from ndn::ConfigChecker
bool check (bool isForInterest, const Name &packetName, const Name &keyLocatorName, const ptr_lib::shared_ptr< ValidationState > &state)
 Check if the packet name ane KeyLocator name satisfy this checker's conditions. More...
 

Protected Member Functions

virtual bool checkNames (const Name &packetName, const Name &keyLocatorName, const ptr_lib::shared_ptr< ValidationState > &state)
 Check if the packet name ane KeyLocator name satisfy this checker's conditions. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ndn::ConfigChecker
static ptr_lib::shared_ptr
< ConfigChecker
create (const BoostInfoTree &configSection)
 Create a checker from the configuration section. More...
 

Member Function Documentation

virtual bool ndn::ConfigHyperRelationChecker::checkNames ( const Name packetName,
const Name keyLocatorName,
const ptr_lib::shared_ptr< ValidationState > &  state 
)
protectedvirtual

Check if the packet name ane KeyLocator name satisfy this checker's conditions.

Parameters
packetNameThe packet name, which is already stripped of signature components if this is a signed Interest name.
keyLocatorNameThe KeyLocator's name.
stateThis calls state.fail() if the packet is invalid.
Returns
True if further signature verification is needed, or false if the packet is immediately determined to be invalid in which case this calls state.fail() with the proper code and message.

Implements ndn::ConfigChecker.


The documentation for this class was generated from the following file: