29 : v2::Validator(
make_unique<v2::ValidationPolicyCommandInterest>(
make_unique<v2::ValidationPolicyConfig>(),
32 , m_policyConfig(static_cast<v2::ValidationPolicyConfig&>(getPolicy().getInnerPolicy()))
44 m_policyConfig.load(filename);
50 m_policyConfig.load(input, filename);
56 m_policyConfig.load(input, filename);
61 const std::string& filename)
63 m_policyConfig.load(configSection, filename);
Copyright (c) 2013-2017 Regents of the University of California.
void load(const std::string &filename)
Helper for validator that uses CommandInterest + Config policy and NetworkFetcher.
unique_ptr< T > make_unique(Args &&...args)
ValidatorConfig(std::unique_ptr< v2::CertificateFetcher > fetcher, const Options &options=Options())
Provide a communication channel with local or remote NDN forwarder.
boost::property_tree::ptree ConfigSection