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

#include <checker.hpp>

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

Public Member Functions

 NameRelationChecker (tlv::SignatureTypeValue sigType, const Name &name, const NameRelation &relation)
- 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< Checkercreate (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

Detailed Description

Definition at line 141 of file checker.hpp.

Constructor & Destructor Documentation

◆ NameRelationChecker()

ndn::security::v2::validator_config::NameRelationChecker::NameRelationChecker ( tlv::SignatureTypeValue  sigType,
const Name name,
const NameRelation relation 

Definition at line 113 of file checker.cpp.

Member Function Documentation

◆ checkNames()

Checker::Result ndn::security::v2::validator_config::NameRelationChecker::checkNames ( const Name pktName,
const Name klName 

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