22 #ifndef NDN_CXX_SECURITY_VALIDATOR_CONFIG_HPP
23 #define NDN_CXX_SECURITY_VALIDATOR_CONFIG_HPP
40 using Validator::Validator;
56 load(
const std::string& filename);
59 load(
const std::string& input,
const std::string& filename);
62 load(std::istream& input,
const std::string& filename);
66 const std::string& filename);
69 ValidationPolicyConfig& m_policyConfig;
74 using security::ValidatorConfig;
Provide a communication channel with local or remote NDN forwarder.
Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher.
ValidationPolicySignedInterest::Options SignedInterestOptions
ValidationPolicyCommandInterest::Options CommandInterestOptions
ValidatorConfig(std::unique_ptr< CertificateFetcher > fetcher, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={})
void load(const std::string &filename)
Interface for validating data and interest packets.
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
boost::property_tree::ptree ConfigSection