31 : Validator(make_unique<ValidationPolicySignedInterest>(
32 make_unique<ValidationPolicyCommandInterest>(
33 make_unique<ValidationPolicyConfig>(),
37 , m_policyConfig(static_cast<ValidationPolicyConfig&>(getPolicy().getInnerPolicy().getInnerPolicy()))
44 :
ValidatorConfig(make_unique<CertificateFetcherFromNetwork>(face), ciOptions, siOptions)
51 m_policyConfig.load(filename);
57 m_policyConfig.load(input, filename);
63 m_policyConfig.load(input, filename);
68 const std::string& filename)
70 m_policyConfig.load(configSection, filename);
void load(const std::string &filename)
Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher...
Provide a communication channel with local or remote NDN forwarder.
boost::property_tree::ptree ConfigSection
ValidationPolicyCommandInterest::Options CommandInterestOptions
ValidatorConfig(std::unique_ptr< CertificateFetcher > fetcher, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={})
ValidationPolicySignedInterest::Options SignedInterestOptions