Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher. More...
#include <validator-config.hpp>
Public Types | |
using | SignedInterestOptions = ValidationPolicySignedInterest::Options |
using | CommandInterestOptions = ValidationPolicyCommandInterest::Options |
Public Member Functions | |
ValidatorConfig (std::unique_ptr< CertificateFetcher > fetcher, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={}) | |
ValidatorConfig (Face &face, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={}) | |
void | load (const std::string &filename) |
void | load (const std::string &input, const std::string &filename) |
void | load (std::istream &input, const std::string &filename) |
void | load (const validator_config::ConfigSection &configSection, const std::string &filename) |
Public Attributes | |
NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE | __pad0__: ValidationPolicyConfig& m_policyConfig |
Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher.
Definition at line 37 of file validator-config.hpp.
using ndn::security::ValidatorConfig::SignedInterestOptions = ValidationPolicySignedInterest::Options |
Definition at line 41 of file validator-config.hpp.
using ndn::security::ValidatorConfig::CommandInterestOptions = ValidationPolicyCommandInterest::Options |
Definition at line 42 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.
Referenced by nfd::RibManager::applyLocalhostConfig(), nfd::RibManager::applyPaConfig(), nfd::RibManager::enableLocalhop(), and nfd::rib::Service::get().
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 | ( | std::istream & | input, |
const std::string & | filename | ||
) |
Definition at line 61 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.
NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE ndn::security::ValidatorConfig::__pad0__ |
Definition at line 69 of file validator-config.hpp.