22 #ifndef NDN_SECURITY_V2_VALIDATION_POLICY_ACCEPT_ALL_HPP 23 #define NDN_SECURITY_V2_VALIDATION_POLICY_ACCEPT_ALL_HPP 41 continueValidation(
nullptr, state);
48 continueValidation(
nullptr, state);
56 #endif // NDN_SECURITY_V2_VALIDATION_POLICY_ACCEPT_ALL_HPP void checkPolicy(const Interest &interest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) final
Check interest against the policy.
Copyright (c) 2013-2017 Regents of the University of California.
Represents an Interest packet.
Abstraction that implements validation policy for Data and Interest packets.
std::function< void(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state)> ValidationContinuation
A validator policy that accepts any signature of data and interest packets.
void checkPolicy(const Data &data, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) final
Check data against the policy.
Represents a Data packet.