ndn::security::validator_config Namespace Reference

Classes

class  Checker
 
class  Error
 
class  Filter
 Filter is one of the classes used by ValidatorConfig. More...
 
class  HyperRelationChecker
 
class  NameRelationChecker
 
class  RegexChecker
 
class  RegexNameFilter
 Filter to check that packet name matches the specified regular expression. More...
 
class  RelationNameFilter
 Check that name is in relation to the packet name. More...
 
class  Rule
 
class  ValidationPolicyConfig
 A validator that can be set up via a configuration file. More...
 

Typedefs

using ConfigSection = boost::property_tree::ptree
 

Enumerations

enum class  NameRelation {
  EQUAL ,
  IS_PREFIX_OF ,
  IS_STRICT_PREFIX_OF
}
 

Functions

bool checkNameRelation (NameRelation relation, const Name &name1, const Name &name2)
 Check whether name1 and name2 satisfies relation. More...
 
NameRelation getNameRelationFromString (const std::string &relationString)
 Convert relationString to NameRelation. More...
 
std::ostream & operator<< (std::ostream &os, NameRelation relation)
 

Typedef Documentation

◆ ConfigSection

using ndn::security::validator_config::ConfigSection = typedef boost::property_tree::ptree

Definition at line 33 of file common.hpp.

Enumeration Type Documentation

◆ NameRelation

Enumerator
EQUAL 
IS_PREFIX_OF 
IS_STRICT_PREFIX_OF 

Definition at line 30 of file name-relation.hpp.

Function Documentation

◆ checkNameRelation()

bool ndn::security::validator_config::checkNameRelation ( NameRelation  relation,
const Name name1,
const Name name2 
)

Check whether name1 and name2 satisfies relation.

Definition at line 43 of file name-relation.cpp.

◆ getNameRelationFromString()

NameRelation ndn::security::validator_config::getNameRelationFromString ( const std::string &  relationString)

Convert relationString to NameRelation.

Exceptions
Errorif relationString cannot be converted

Definition at line 57 of file name-relation.cpp.

◆ operator<<()

std::ostream & ndn::security::validator_config::operator<< ( std::ostream &  os,
NameRelation  relation 
)

Definition at line 28 of file name-relation.cpp.