33 make_unique<ValidationPolicyConfig>(),
37 , m_policyConfig(static_cast<ValidationPolicyConfig&>(getPolicy().getInnerPolicy().getInnerPolicy()))
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);
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)
Fetch missing keys from the network.
Validation policy for stop-and-wait command Interests.
Validation policy for signed Interests.
Interface for validating data and interest packets.
boost::property_tree::ptree ConfigSection