NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::SecRule Class Referenceabstract

#include <sec-rule.hpp>

Inheritance diagram for ndn::SecRule:

Classes

class  Error
 

Public Member Functions

 SecRule (bool isPositive)
 
virtual ~SecRule ()
 
virtual bool matchDataName (const Data &data)=0
 
virtual bool matchSignerName (const Data &data)=0
 
virtual bool satisfy (const Data &data)=0
 
virtual bool satisfy (const Name &dataName, const Name &signerName)=0
 
bool isPositive ()
 

Protected Attributes

bool m_isPositive
 

Detailed Description

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

Constructor & Destructor Documentation

ndn::SecRule::SecRule ( bool  isPositive)
inlineexplicit

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

virtual ndn::SecRule::~SecRule ( )
inlinevirtual

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

References isPositive(), matchDataName(), matchSignerName(), and satisfy().

Member Function Documentation

virtual bool ndn::SecRule::matchDataName ( const Data data)
pure virtual

Implemented in ndn::SecRuleRelative, and ndn::SecRuleSpecific.

Referenced by ~SecRule().

virtual bool ndn::SecRule::matchSignerName ( const Data data)
pure virtual

Implemented in ndn::SecRuleRelative, and ndn::SecRuleSpecific.

Referenced by ~SecRule().

virtual bool ndn::SecRule::satisfy ( const Data data)
pure virtual

Implemented in ndn::SecRuleRelative, and ndn::SecRuleSpecific.

Referenced by ~SecRule().

virtual bool ndn::SecRule::satisfy ( const Name dataName,
const Name signerName 
)
pure virtual
bool ndn::SecRule::isPositive ( )
inline

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

References m_isPositive.

Referenced by ndn::SecRuleRelative::Error::Error(), and ~SecRule().

Member Data Documentation

bool ndn::SecRule::m_isPositive
protected

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

Referenced by isPositive().


The documentation for this class was generated from the following file: