NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::conf::RegexKeyLocatorNameChecker Class Reference

#include <key-locator-checker.hpp>

Inheritance diagram for ndn::security::conf::RegexKeyLocatorNameChecker:
Collaboration diagram for ndn::security::conf::RegexKeyLocatorNameChecker:

Public Member Functions

 RegexKeyLocatorNameChecker (const Regex &regex)
 
- Public Member Functions inherited from ndn::security::conf::KeyLocatorChecker
virtual ~KeyLocatorChecker ()
 
bool check (const Data &data, const KeyLocator &keyLocator, std::string &failInfo)
 
bool check (const Interest &interest, const KeyLocator &keyLocator, std::string &failInfo)
 

Protected Member Functions

virtual bool check (const Name &packetName, const KeyLocator &keyLocator, std::string &failInfo)
 
- Protected Member Functions inherited from ndn::security::conf::KeyLocatorChecker
bool checkRelation (const Relation &relation, const Name &name1, const Name &name2)
 

Additional Inherited Members

- Public Types inherited from ndn::security::conf::KeyLocatorChecker
enum  Relation { RELATION_EQUAL, RELATION_IS_PREFIX_OF, RELATION_IS_STRICT_PREFIX_OF }
 

Detailed Description

Definition at line 148 of file key-locator-checker.hpp.

Constructor & Destructor Documentation

§ RegexKeyLocatorNameChecker()

ndn::security::conf::RegexKeyLocatorNameChecker::RegexKeyLocatorNameChecker ( const Regex regex)
inlineexplicit

Definition at line 152 of file key-locator-checker.hpp.

Member Function Documentation

§ check()

virtual bool ndn::security::conf::RegexKeyLocatorNameChecker::check ( const Name packetName,
const KeyLocator keyLocator,
std::string &  failInfo 
)
inlineprotectedvirtual

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