24 #ifndef NDN_SECURITY_SEC_RULE_RELATIVE_HPP
25 #define NDN_SECURITY_SEC_RULE_RELATIVE_HPP
28 #include "../util/regex.hpp"
45 SecRuleRelative(
const std::string& dataRegex,
const std::string& signerRegex,
46 const std::string& op,
47 const std::string& dataExpand,
const std::string& signerExpand,
67 compare(
const Name& dataName,
const Name& signerName);
70 const std::string m_dataRegex;
71 const std::string m_signerRegex;
72 const std::string m_op;
73 const std::string m_dataExpand;
74 const std::string m_signerExpand;
76 Regex m_dataNameRegex;
77 Regex m_signerNameRegex;
82 #endif //NDN_SECURITY_SEC_RULE_RELATIVE_HPP
Copyright (c) 2013-2016 Regents of the University of California.
Error(const std::string &what)
virtual bool matchSignerName(const Data &data)
SecRuleRelative(const std::string &dataRegex, const std::string &signerRegex, const std::string &op, const std::string &dataExpand, const std::string &signerExpand, bool isPositive)
virtual ~SecRuleRelative()
Name abstraction to represent an absolute name.
virtual bool matchDataName(const Data &data)
virtual bool satisfy(const Data &data)