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

ValidationRequest contains information related to further validation. More...

#include <validation-request.hpp>

Collaboration diagram for ndn::ValidationRequest:

Public Member Functions

 ValidationRequest (const Interest &interest, const OnDataValidated &onDataValidated, const OnDataValidationFailed &onDataValidationFailed, int nRetries, int nSteps)
 
virtual ~ValidationRequest ()
 

Public Attributes

Interest m_interest
 the Interest for the requested data/certificate. More...
 
OnDataValidated m_onDataValidated
 callback when the retrieved certificate is authenticated. More...
 
OnDataValidationFailed m_onDataValidationFailed
 callback when the retrieved certificate cannot be authenticated. More...
 
int m_nRetries
 the number of retries when the interest times out. More...
 
int m_nSteps
 the number of validation steps that have been performed. More...
 

Detailed Description

ValidationRequest contains information related to further validation.

During a validation process, validator may not have retrieved the corresponding public key of the signature in a packet. ValidationRequest contains the interest for the certificate that carries the public key and also contains the context for the certificate including how to proceed when the public key is authenticated or not, the number of validation steps that have been performed, and how to handle interest timeout.

Definition at line 53 of file validation-request.hpp.

Constructor & Destructor Documentation

§ ValidationRequest()

ndn::ValidationRequest::ValidationRequest ( const Interest interest,
const OnDataValidated onDataValidated,
const OnDataValidationFailed onDataValidationFailed,
int  nRetries,
int  nSteps 
)
inline

Definition at line 56 of file validation-request.hpp.

§ ~ValidationRequest()

virtual ndn::ValidationRequest::~ValidationRequest ( )
inlinevirtual

Definition at line 69 of file validation-request.hpp.

Member Data Documentation

§ m_interest

Interest ndn::ValidationRequest::m_interest

the Interest for the requested data/certificate.

Definition at line 74 of file validation-request.hpp.

§ m_onDataValidated

OnDataValidated ndn::ValidationRequest::m_onDataValidated

callback when the retrieved certificate is authenticated.

Definition at line 76 of file validation-request.hpp.

§ m_onDataValidationFailed

OnDataValidationFailed ndn::ValidationRequest::m_onDataValidationFailed

callback when the retrieved certificate cannot be authenticated.

Definition at line 78 of file validation-request.hpp.

§ m_nRetries

int ndn::ValidationRequest::m_nRetries

the number of retries when the interest times out.

Definition at line 80 of file validation-request.hpp.

§ m_nSteps

int ndn::ValidationRequest::m_nSteps

the number of validation steps that have been performed.

Definition at line 82 of file validation-request.hpp.


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