8 #ifndef NDN_SECURITY_SEC_RULE_HPP
9 #define NDN_SECURITY_SEC_RULE_HPP
11 #include "../common.hpp"
12 #include "../data.hpp"
19 class Error :
public std::runtime_error
24 : std::runtime_error(what)
66 #endif //NDN_SECURITY_SEC_RULE_HPP
virtual bool satisfy(const Data &data)=0
A Name holds an array of Name::Component and represents an NDN name.
Error(const std::string &what)
virtual bool matchDataName(const Data &data)=0
virtual bool matchSignerName(const Data &data)=0