#include <sec-rule-relative.hpp>
Classes | |
class | Error |
Public Member Functions | |
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 () |
virtual bool | matchDataName (const Data &data) |
virtual bool | matchSignerName (const Data &data) |
virtual bool | satisfy (const Data &data) |
virtual bool | satisfy (const Name &dataName, const Name &signerName) |
Public Member Functions inherited from ndn::SecRule | |
SecRule (bool isPositive) | |
virtual | ~SecRule () |
bool | isPositive () |
Additional Inherited Members | |
Protected Attributes inherited from ndn::SecRule | |
bool | m_isPositive |
Definition at line 32 of file sec-rule-relative.hpp.
ndn::SecRuleRelative::SecRuleRelative | ( | const std::string & | dataRegex, |
const std::string & | signerRegex, | ||
const std::string & | op, | ||
const std::string & | dataExpand, | ||
const std::string & | signerExpand, | ||
bool | isPositive | ||
) |
Definition at line 35 of file sec-rule-relative.cpp.
|
virtual |
Definition at line 52 of file sec-rule-relative.cpp.
|
virtual |
Implements ndn::SecRule.
Definition at line 99 of file sec-rule-relative.cpp.
References ndn::Data::getName(), and ndn::RegexTopMatcher::match().
|
virtual |
Implements ndn::SecRule.
Definition at line 105 of file sec-rule-relative.cpp.
References ndn::Signature::getKeyLocator(), ndn::KeyLocator::getName(), ndn::Data::getSignature(), ndn::KeyLocator::getType(), ndn::Signature::hasKeyLocator(), ndn::KeyLocator::KeyLocator_Name, and ndn::RegexTopMatcher::match().
|
virtual |
Implements ndn::SecRule.
Definition at line 57 of file sec-rule-relative.cpp.
References ndn::Signature::getKeyLocator(), ndn::KeyLocator::getName(), ndn::Data::getName(), ndn::Data::getSignature(), ndn::KeyLocator::getType(), ndn::Signature::hasKeyLocator(), and ndn::KeyLocator::KeyLocator_Name.
Implements ndn::SecRule.
Definition at line 83 of file sec-rule-relative.cpp.
References ndn::RegexTopMatcher::expand(), and ndn::RegexTopMatcher::match().