Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher. More...
#include <ndn-cxx/security/validator-config.hpp>
Public Types | |
using | CommandInterestOptions = ValidationPolicyCommandInterest::Options |
using | SignedInterestOptions = ValidationPolicySignedInterest::Options |
Public Member Functions | |
ValidatorConfig (Face &face, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={}) | |
ValidatorConfig (std::unique_ptr< CertificateFetcher > fetcher, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={}) | |
void | load (const std::string &filename) |
void | load (const std::string &input, const std::string &filename) |
void | load (const validator_config::ConfigSection &configSection, const std::string &filename) |
void | load (std::istream &input, const std::string &filename) |
Validator (unique_ptr< ValidationPolicy > policy, unique_ptr< CertificateFetcher > certFetcher) | |
Validator constructor. More... | |
Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher.
Definition at line 37 of file validator-config.hpp.
using ndn::security::ValidatorConfig::CommandInterestOptions = ValidationPolicyCommandInterest::Options |
Definition at line 42 of file validator-config.hpp.
using ndn::security::ValidatorConfig::SignedInterestOptions = ValidationPolicySignedInterest::Options |
Definition at line 41 of file validator-config.hpp.
|
explicit |
Definition at line 28 of file validator-config.cpp.
|
explicit |
Definition at line 41 of file validator-config.cpp.
void ndn::security::ValidatorConfig::load | ( | const std::string & | filename | ) |
Definition at line 49 of file validator-config.cpp.
void ndn::security::ValidatorConfig::load | ( | const std::string & | input, |
const std::string & | filename | ||
) |
Definition at line 55 of file validator-config.cpp.
void ndn::security::ValidatorConfig::load | ( | const validator_config::ConfigSection & | configSection, |
const std::string & | filename | ||
) |
Definition at line 67 of file validator-config.cpp.
void ndn::security::ValidatorConfig::load | ( | std::istream & | input, |
const std::string & | filename | ||
) |
Definition at line 61 of file validator-config.cpp.
Validator::Validator |
Validator constructor.
policy | Validation policy to be associated with the validator |
certFetcher | Certificate fetcher implementation. |
Definition at line 70 of file validator.cpp.