22 #ifndef NDN_SECURITY_VALIDATOR_CONFIG_HPP 23 #define NDN_SECURITY_VALIDATOR_CONFIG_HPP 49 load(
const std::string& filename);
52 load(
const std::string& input,
const std::string& filename);
55 load(std::istream& input,
const std::string& filename);
59 const std::string& filename);
71 #endif // NDN_SECURITY_VALIDATOR_CONFIG_HPP A validator that can be set up via a configuration file.
void load(const std::string &filename)
Helper for validator that uses CommandInterest + Config policy and NetworkFetcher.
ValidatorConfig(std::unique_ptr< v2::CertificateFetcher > fetcher, const Options &options=Options())
Provide a communication channel with local or remote NDN forwarder.
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
v2::ValidationPolicyCommandInterest::Options Options
Validator(unique_ptr< ValidationPolicy > policy, unique_ptr< CertificateFetcher > certFetcher)
Validator constructor.
boost::property_tree::ptree ConfigSection
Interface for validating data and interest packets.