|
|
| ConfigNameRelationChecker (const Name &name, ConfigNameRelation::Relation relation) |
| |
| bool | check (bool isForInterest, const Name &packetName, const Name &keyLocatorName, const ptr_lib::shared_ptr< ValidationState > &state) |
| | Check if the packet name ane KeyLocator name satisfy this checker's conditions. More...
|
| |
| virtual bool ndn::ConfigNameRelationChecker::checkNames |
( |
const Name & |
packetName, |
|
|
const Name & |
keyLocatorName, |
|
|
const ptr_lib::shared_ptr< ValidationState > & |
state |
|
) |
| |
|
protectedvirtual |
Check if the packet name ane KeyLocator name satisfy this checker's conditions.
- Parameters
-
| packetName | The packet name, which is already stripped of signature components if this is a signed Interest name. |
| keyLocatorName | The KeyLocator's name. |
| state | This calls state.fail() if the packet is invalid. |
- Returns
- True if further signature verification is needed, or false if the packet is immediately determined to be invalid in which case this calls state.fail() with the proper code and message.
Implements ndn::ConfigChecker.
The documentation for this class was generated from the following file: