8 #ifndef NDN_SECURITY_SEC_RULE_SPECIFIC_H
9 #define NDN_SECURITY_SEC_RULE_SPECIFIC_H
11 #include "../common.hpp"
13 #include "../util/regex.hpp"
22 shared_ptr<Regex> signerRegex);
42 shared_ptr<Regex> m_dataRegex;
43 shared_ptr<Regex> m_signerRegex;
48 #endif //NDN_SECURITY_SEC_RULE_SPECIFIC_H
bool matchDataName(const Data &data)
bool matchSignerName(const Data &data)
A Name holds an array of Name::Component and represents an NDN name.
virtual ~SecRuleSpecific()
SecRuleSpecific(shared_ptr< Regex > dataRegex, shared_ptr< Regex > signerRegex)
bool satisfy(const Data &data)