#include <checker.hpp>
Public Types | |
| typedef function< void(const shared_ptr< const Interest > &)> | OnInterestChecked |
| typedef function< void(const shared_ptr< const Interest > &, const std::string &)> | OnInterestCheckFailed |
| typedef function< void(const shared_ptr< const Data > &)> | OnDataChecked |
| typedef function< void(const shared_ptr< const Data > &, const std::string &)> | OnDataCheckFailed |
Public Member Functions | |
| CustomizedChecker (uint32_t sigType, shared_ptr< KeyLocatorChecker > keyLocatorChecker) | |
| virtual int8_t | check (const Data &data, const OnDataChecked &onValidated, const OnDataCheckFailed &onValidationFailed) |
| check if data satisfies condition defined in the specific checker implementation More... | |
| virtual int8_t | check (const Interest &interest, const OnInterestChecked &onValidated, const OnInterestCheckFailed &onValidationFailed) |
| check if interest satisfies condition defined in the specific checker implementation More... | |
Definition at line 66 of file checker.hpp.
|
inherited |
Definition at line 26 of file checker.hpp.
|
inherited |
Definition at line 27 of file checker.hpp.
|
inherited |
Definition at line 24 of file checker.hpp.
|
inherited |
Definition at line 25 of file checker.hpp.
|
inline |
Definition at line 75 of file checker.hpp.
|
inlinevirtual |
check if data satisfies condition defined in the specific checker implementation
| data | Data packet |
| onValidated | Callback function which is called when data is immediately valid |
| onValidationFailed | Call function which is called when data is immediately invalid |
Implements ndn::security::conf::Checker.
Definition at line 85 of file checker.hpp.
|
inlinevirtual |
check if interest satisfies condition defined in the specific checker implementation
| interest | Interest packet |
| onValidated | Callback function which is called when interest is immediately valid |
| onValidationFailed | Call function which is called when interest is immediately invalid |
Implements ndn::security::conf::Checker.
Definition at line 93 of file checker.hpp.