NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

◆ SecRule()

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

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

◆ ~SecRule()

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

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

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

Member Function Documentation

◆ matchDataName()

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

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

Referenced by ~SecRule().

◆ matchSignerName()

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

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

Referenced by ~SecRule().

◆ satisfy() [1/2]

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

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

Referenced by ~SecRule().

◆ satisfy() [2/2]

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

◆ isPositive()

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

◆ m_isPositive

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: