25 #ifndef NDN_SECURITY_VALIDATOR_NULL_HPP
26 #define NDN_SECURITY_VALIDATOR_NULL_HPP
47 std::vector<shared_ptr<ValidationRequest> >& nextSteps)
49 onValidated(data.shared_from_this());
57 std::vector<shared_ptr<ValidationRequest> >& nextSteps)
59 onValidated(interest.shared_from_this());
65 using security::ValidatorNull;
69 #endif //NDN_SECURITY_VALIDATOR_NULL_HPP
function< void(const shared_ptr< const Interest > &, const std::string &)> OnInterestValidationFailed
Callback to report a failed Interest validation.
virtual void checkPolicy(const Data &data, int nSteps, const OnDataValidated &onValidated, const OnDataValidationFailed &onValidationFailed, std::vector< shared_ptr< ValidationRequest > > &nextSteps)
Copyright (c) 2013-2016 Regents of the University of California.
represents an Interest packet
function< void(const shared_ptr< const Data > &, const std::string &)> OnDataValidationFailed
Callback to report a failed Data validation.
function< void(const shared_ptr< const Data > &)> OnDataValidated
Callback to report a successful Data validation.
function< void(const shared_ptr< const Interest > &)> OnInterestValidated
Callback to report a successful Interest validation.
provides the interfaces for packet validation.
virtual void checkPolicy(const Interest &interest, int nSteps, const OnInterestValidated &onValidated, const OnInterestValidationFailed &onValidationFailed, std::vector< shared_ptr< ValidationRequest > > &nextSteps)