#include <ndn-cxx/security/validator-config/checker.hpp>
Inheritance diagram for ndn::security::validator_config::NameRelationChecker:
Collaboration diagram for ndn::security::validator_config::NameRelationChecker:Public Member Functions | |
| NameRelationChecker (tlv::SignatureTypeValue sigType, const Name &name, const NameRelation &relation) | |
| 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... | |
Static Public Member Functions | |
| static unique_ptr< Checker > | create (const ConfigSection &configSection, const std::string &configFilename) |
| Create a checker from configuration section. More... | |
Protected Member Functions | |
| Result | checkNames (const Name &pktName, const Name &klName) override |
| Base version of name checking. More... | |
Static Protected Member Functions | |
| static Result | accept () |
| static NegativeResultBuilder | reject () |
Protected Attributes | |
| tlv::SignatureTypeValue | m_sigType = tlv::SignatureSha256WithEcdsa |
Definition at line 139 of file checker.hpp.
| ndn::security::validator_config::NameRelationChecker::NameRelationChecker | ( | tlv::SignatureTypeValue | sigType, |
| const Name & | name, | ||
| const NameRelation & | relation | ||
| ) |
Definition at line 108 of file checker.cpp.
|
inlinestaticprotectedinherited |
Definition at line 110 of file checker.hpp.
|
inherited |
Check if packet name and KeyLocator satisfy the checker's conditions.
| pktType | tlv::Interest or tlv::Data |
| sigType | Signature type |
| pktName | packet's name |
| klName | KeyLocator's name |
| state | Validation state |
Definition at line 68 of file checker.cpp.
|
overrideprotectedvirtual |
Base version of name checking.
Reimplemented from ndn::security::validator_config::Checker.
Definition at line 116 of file checker.cpp.
|
staticinherited |
Create a checker from configuration section.
| configSection | The section containing the definition of checker. |
| configFilename | The configuration file name. |
Definition at line 177 of file checker.cpp.
|
staticprotectedinherited |
Definition at line 62 of file checker.cpp.
|
protectedinherited |
Definition at line 136 of file checker.hpp.