#include <checker.hpp>
|
| CustomizedChecker (uint32_t sigType, shared_ptr< KeyLocatorChecker > keyLocatorChecker) |
|
int8_t | check (const Data &data) override |
| check if data satisfies condition defined in the specific checker implementation More...
|
|
int8_t | check (const Interest &interest) override |
| check if interest satisfies condition defined in the specific checker implementation More...
|
|
Definition at line 79 of file checker.hpp.
ndn::security::conf::CustomizedChecker::CustomizedChecker |
( |
uint32_t |
sigType, |
|
|
shared_ptr< KeyLocatorChecker > |
keyLocatorChecker |
|
) |
| |
|
inline |
int8_t ndn::security::conf::CustomizedChecker::check |
( |
const Data & |
data | ) |
|
|
inlineoverridevirtual |
check if data satisfies condition defined in the specific checker implementation
- Parameters
-
- Return values
-
-1 | if data is immediately invalid |
1 | if data is immediately valid |
0 | if further signature verification is needed. |
Implements ndn::security::conf::Checker.
Definition at line 102 of file checker.hpp.
int8_t ndn::security::conf::CustomizedChecker::check |
( |
const Interest & |
interest | ) |
|
|
inlineoverridevirtual |
check if interest satisfies condition defined in the specific checker implementation
- Parameters
-
- Return values
-
-1 | if interest is immediately invalid |
1 | if interest is immediately valid |
0 | if further signature verification is needed. |
Implements ndn::security::conf::Checker.
Definition at line 108 of file checker.hpp.