#include <sec-rule-specific.hpp>
Public Member Functions | |
SecRuleSpecific (shared_ptr< Regex > dataRegex, shared_ptr< Regex > signerRegex) | |
SecRuleSpecific (shared_ptr< Regex > dataRegex) | |
SecRuleSpecific (const SecRuleSpecific &rule) | |
virtual | ~SecRuleSpecific () |
bool | matchDataName (const Data &data) |
bool | matchSignerName (const Data &data) |
bool | satisfy (const Data &data) |
bool | satisfy (const Name &dataName, const Name &signerName) |
bool | isExempted () const |
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 33 of file sec-rule-specific.hpp.
ndn::SecRuleSpecific::SecRuleSpecific | ( | shared_ptr< Regex > | dataRegex, |
shared_ptr< Regex > | signerRegex | ||
) |
Definition at line 31 of file sec-rule-specific.cpp.
|
explicit |
Definition at line 40 of file sec-rule-specific.cpp.
|
explicit |
Definition at line 47 of file sec-rule-specific.cpp.
|
inlinevirtual |
Definition at line 47 of file sec-rule-specific.hpp.
|
virtual |
Implements ndn::SecRule.
Definition at line 56 of file sec-rule-specific.cpp.
References ndn::Data::getName().
Referenced by satisfy().
|
virtual |
Implements ndn::SecRule.
Definition at line 62 of file sec-rule-specific.cpp.
References ndn::Signature::getKeyLocator(), ndn::KeyLocator::getName(), ndn::Data::getSignature(), ndn::KeyLocator::getType(), ndn::Signature::hasKeyLocator(), and ndn::KeyLocator::KeyLocator_Name.
Referenced by satisfy().
|
virtual |
Implements ndn::SecRule.
Definition at line 90 of file sec-rule-specific.cpp.
References matchDataName(), and matchSignerName().
Implements ndn::SecRule.
Definition at line 96 of file sec-rule-specific.cpp.
|
inline |
Definition at line 62 of file sec-rule-specific.hpp.