ndn::SecRuleSpecific Class Reference

#include <sec-rule-specific.hpp>

Inheritance diagram for ndn::SecRuleSpecific:
[legend]
Collaboration diagram for ndn::SecRuleSpecific:
[legend]

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
 
bool isPositive ()
 

Protected Attributes

bool m_isPositive
 

Detailed Description

Definition at line 33 of file sec-rule-specific.hpp.

Constructor & Destructor Documentation

ndn::SecRuleSpecific::SecRuleSpecific ( shared_ptr< Regex dataRegex,
shared_ptr< Regex signerRegex 
)

Definition at line 31 of file sec-rule-specific.cpp.

ndn::SecRuleSpecific::SecRuleSpecific ( shared_ptr< Regex dataRegex)
explicit

Definition at line 40 of file sec-rule-specific.cpp.

ndn::SecRuleSpecific::SecRuleSpecific ( const SecRuleSpecific rule)
explicit

Definition at line 47 of file sec-rule-specific.cpp.

virtual ndn::SecRuleSpecific::~SecRuleSpecific ( )
inlinevirtual

Definition at line 47 of file sec-rule-specific.hpp.

Member Function Documentation

bool ndn::SecRuleSpecific::isExempted ( ) const
inline

Definition at line 62 of file sec-rule-specific.hpp.

bool ndn::SecRule::isPositive ( )
inlineinherited

Definition at line 76 of file sec-rule.hpp.

bool ndn::SecRuleSpecific::matchDataName ( const Data data)
virtual

Implements ndn::SecRule.

Definition at line 56 of file sec-rule-specific.cpp.

bool ndn::SecRuleSpecific::matchSignerName ( const Data data)
virtual

Implements ndn::SecRule.

Definition at line 62 of file sec-rule-specific.cpp.

bool ndn::SecRuleSpecific::satisfy ( const Data data)
virtual

Implements ndn::SecRule.

Definition at line 90 of file sec-rule-specific.cpp.

bool ndn::SecRuleSpecific::satisfy ( const Name dataName,
const Name signerName 
)
virtual

Implements ndn::SecRule.

Definition at line 96 of file sec-rule-specific.cpp.

Field Documentation

bool ndn::SecRule::m_isPositive
protectedinherited

Definition at line 72 of file sec-rule.hpp.