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

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

#include <validation-request.hpp>

Collaboration diagram for ndn::security::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 55 of file validation-request.hpp.

Constructor & Destructor Documentation

◆ ValidationRequest()

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

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

◆ ~ValidationRequest()

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

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

Member Data Documentation

◆ m_interest

Interest ndn::security::ValidationRequest::m_interest

the Interest for the requested data/certificate.

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

◆ m_onDataValidated

OnDataValidated ndn::security::ValidationRequest::m_onDataValidated

callback when the retrieved certificate is authenticated.

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

◆ m_onDataValidationFailed

OnDataValidationFailed ndn::security::ValidationRequest::m_onDataValidationFailed

callback when the retrieved certificate cannot be authenticated.

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

◆ m_nRetries

int ndn::security::ValidationRequest::m_nRetries

the number of retries when the interest times out.

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

◆ m_nSteps

int ndn::security::ValidationRequest::m_nSteps

the number of validation steps that have been performed.

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


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