#include <checker.hpp>
Public Member Functions | |
NameRelationChecker (const Name &name, const NameRelation &relation) | |
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< Checker > | create (const ConfigSection &configSection, const std::string &configFilename) |
create a checker from configuration section More... | |
Definition at line 86 of file checker.hpp.
ndn::security::v2::validator_config::NameRelationChecker::NameRelationChecker | ( | const Name & | name, |
const NameRelation & | relation | ||
) |
Definition at line 53 of file checker.cpp.
|
overrideprotectedvirtual |
Implements ndn::security::v2::validator_config::Checker.
Definition at line 60 of file checker.cpp.
References ndn::security::v2::validator_config::checkNameRelation(), ndn::security::v2::extractIdentityFromKeyName(), and ndn::security::v2::ValidationError::POLICY_ERROR.