NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::v2::validator_config::HyperRelationChecker Class Reference

#include <checker.hpp>

Inheritance diagram for ndn::security::v2::validator_config::HyperRelationChecker:
Collaboration diagram for ndn::security::v2::validator_config::HyperRelationChecker:

Public Member Functions

 HyperRelationChecker (const std::string &pktNameExpr, const std::string pktNameExpand, const std::string &klNameExpr, const std::string klNameExpand, const NameRelation &hyperRelation)
 
- Public Member Functions inherited from ndn::security::v2::validator_config::Checker
virtual ~Checker ()=default
 
bool check (uint32_t pktType, const Name &pktName, const Name &klName, const shared_ptr< ValidationState > &state)
 Check if packet name ane KeyLocator satisfy the checker's conditions. More...
 

Protected Member Functions

bool checkNames (const Name &pktName, const Name &klName, const shared_ptr< ValidationState > &state) override
 

Additional Inherited Members

- Static Public Member Functions inherited from ndn::security::v2::validator_config::Checker
static unique_ptr< Checkercreate (const ConfigSection &configSection, const std::string &configFilename)
 create a checker from configuration section More...
 

Detailed Description

Definition at line 114 of file checker.hpp.

Constructor & Destructor Documentation

◆ HyperRelationChecker()

ndn::security::v2::validator_config::HyperRelationChecker::HyperRelationChecker ( const std::string &  pktNameExpr,
const std::string  pktNameExpand,
const std::string &  klNameExpr,
const std::string  klNameExpand,
const NameRelation hyperRelation 
)

Definition at line 92 of file checker.cpp.

Member Function Documentation

◆ checkNames()

bool ndn::security::v2::validator_config::HyperRelationChecker::checkNames ( const Name pktName,
const Name klName,
const shared_ptr< ValidationState > &  state 
)
overrideprotectedvirtual

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