#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.
Referenced by ndn::SecRuleRelative::Error::Error().
|
virtual |
Definition at line 52 of file sec-rule-relative.cpp.
Referenced by ndn::SecRuleRelative::Error::Error().
|
virtual |
Implements ndn::SecRule.
Definition at line 99 of file sec-rule-relative.cpp.
References ndn::Data::getName(), and ndn::RegexTopMatcher::match().
Referenced by ndn::SecRuleRelative::Error::Error().
|
virtual |
Implements ndn::SecRule.
Definition at line 105 of file sec-rule-relative.cpp.
References ndn::Name::begin(), ndn::name::Component::compare(), ndn::Name::end(), ndn::Signature::getKeyLocator(), ndn::KeyLocator::getName(), ndn::Data::getSignature(), ndn::KeyLocator::getType(), ndn::Signature::hasKeyLocator(), ndn::KeyLocator::KeyLocator_Name, and ndn::RegexTopMatcher::match().
Referenced by ndn::SecRuleRelative::Error::Error().
|
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.
Referenced by ndn::SecRuleRelative::Error::Error().
Implements ndn::SecRule.
Definition at line 83 of file sec-rule-relative.cpp.
References ndn::RegexTopMatcher::expand(), and ndn::RegexTopMatcher::match().