KeyLocatorChecker is one of the classes used by ValidatorConfig.
More...
#include <key-locator-checker.hpp>
KeyLocatorChecker is one of the classes used by ValidatorConfig.
The ValidatorConfig class consists of a set of rules. The KeyLocatorChecker class is part of a rule and is used to check if the KeyLocator field of a packet satisfy the requirements.
Definition at line 51 of file key-locator-checker.hpp.
Enumerator |
---|
RELATION_EQUAL |
|
RELATION_IS_PREFIX_OF |
|
RELATION_IS_STRICT_PREFIX_OF |
|
Definition at line 54 of file key-locator-checker.hpp.
virtual ndn::security::conf::KeyLocatorChecker::~KeyLocatorChecker |
( |
| ) |
|
|
inlinevirtual |
bool ndn::security::conf::KeyLocatorChecker::check |
( |
const Data & |
data, |
|
|
const KeyLocator & |
keyLocator, |
|
|
std::string & |
failInfo |
|
) |
| |
|
inline |
bool ndn::security::conf::KeyLocatorChecker::check |
( |
const Interest & |
interest, |
|
|
const KeyLocator & |
keyLocator, |
|
|
std::string & |
failInfo |
|
) |
| |
|
inline |
virtual bool ndn::security::conf::KeyLocatorChecker::check |
( |
const Name & |
packetName, |
|
|
const KeyLocator & |
keyLocator, |
|
|
std::string & |
failInfo |
|
) |
| |
|
protectedpure virtual |
bool ndn::security::conf::KeyLocatorChecker::checkRelation |
( |
const Relation & |
relation, |
|
|
const Name & |
name1, |
|
|
const Name & |
name2 |
|
) |
| |
|
inlineprotected |