#include <checker.hpp>
Public Member Functions | |
HyperRelationChecker (tlv::SignatureTypeValue sigType, 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 | |
Checker (tlv::SignatureTypeValue sigType) | |
virtual | ~Checker ()=default |
Result | check (uint32_t pktType, tlv::SignatureTypeValue sigType, const Name &pktName, const Name &klName, const ValidationState &state) |
Check if packet name and KeyLocator satisfy the checker's conditions. More... | |
Protected Member Functions | |
Result | checkNames (const Name &pktName, const Name &klName) override |
Base version of name checking. More... | |
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... | |
Static Protected Member Functions inherited from ndn::security::v2::validator_config::Checker | |
static Result | accept () |
static NegativeResultBuilder | reject () |
Protected Attributes inherited from ndn::security::v2::validator_config::Checker | |
tlv::SignatureTypeValue | m_sigType = tlv::SignatureSha256WithEcdsa |
Definition at line 169 of file checker.hpp.
ndn::security::v2::validator_config::HyperRelationChecker::HyperRelationChecker | ( | tlv::SignatureTypeValue | sigType, |
const std::string & | pktNameExpr, | ||
const std::string | pktNameExpand, | ||
const std::string & | klNameExpr, | ||
const std::string | klNameExpand, | ||
const NameRelation & | hyperRelation | ||
) |
Definition at line 149 of file checker.cpp.
|
overrideprotectedvirtual |
Base version of name checking.
Reimplemented from ndn::security::v2::validator_config::Checker.
Definition at line 161 of file checker.cpp.
References ndn::security::v2::validator_config::Checker::accept(), ndn::security::v2::validator_config::checkNameRelation(), ndn::RegexTopMatcher::expand(), ndn::RegexTopMatcher::match(), and ndn::security::v2::validator_config::Checker::reject().