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);
62 v2::ValidationPolicyConfig& m_policyConfig;
71 #endif // NDN_SECURITY_VALIDATOR_CONFIG_HPP Copyright (c) 2013-2017 Regents of the University of California.
void load(const std::string &filename)
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE
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.
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.