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

Fetch missing keys from the network. More...

#include <certificate-fetcher-from-network.hpp>

Inheritance diagram for ndn::security::v2::CertificateFetcherFromNetwork:
Collaboration diagram for ndn::security::v2::CertificateFetcherFromNetwork:

Public Member Functions

 CertificateFetcherFromNetwork (Face &face)
 
- Public Member Functions inherited from ndn::security::v2::CertificateFetcher
 CertificateFetcher ()
 
virtual ~CertificateFetcher ()
 
virtual void setCertificateStorage (CertificateStorage &certStorage)
 Assign certificate storage to check known certificate and to cache unverified ones. More...
 
void fetch (const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation)
 Asynchronously fetch certificate. More...
 

Protected Member Functions

void doFetch (const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
 Asynchronous certificate fetching implementation. More...
 

Protected Attributes

Facem_face
 
- Protected Attributes inherited from ndn::security::v2::CertificateFetcher
CertificateStoragem_certStorage
 

Additional Inherited Members

- Public Types inherited from ndn::security::v2::CertificateFetcher
using ValidationContinuation = std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)>
 

Detailed Description

Fetch missing keys from the network.

Definition at line 39 of file certificate-fetcher-from-network.hpp.

Constructor & Destructor Documentation

ndn::security::v2::CertificateFetcherFromNetwork::CertificateFetcherFromNetwork ( Face face)
explicit

Definition at line 35 of file certificate-fetcher-from-network.cpp.

Member Function Documentation

void ndn::security::v2::CertificateFetcherFromNetwork::doFetch ( const shared_ptr< CertificateRequest > &  certRequest,
const shared_ptr< ValidationState > &  state,
const ValidationContinuation continueValidation 
)
overrideprotectedvirtual

Member Data Documentation

Face& ndn::security::v2::CertificateFetcherFromNetwork::m_face
protected

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