All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
ndn::CertificateFetcherFromNetwork Class Reference

CertificateFetcherFromNetwork extends CertificateFetcher to fetch missing certificates from the network. More...

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

Inheritance diagram for ndn::CertificateFetcherFromNetwork:
ndn::CertificateFetcher

Public Member Functions

 CertificateFetcherFromNetwork (Face &face)
 Create a CertificateFetcherFromNetwork to fetch certificates using the Face. More...
 
- Public Member Functions inherited from ndn::CertificateFetcher
virtual void setCertificateStorage (CertificateStorage &certificateStorage)
 Assign the certificate storage used to check for known certificates and to cache unverified ones. More...
 
void fetch (const ptr_lib::shared_ptr< CertificateRequest > &certificateRequest, const ptr_lib::shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation)
 Asynchronously fetch a certificate. More...
 

Protected Member Functions

virtual void doFetch (const ptr_lib::shared_ptr< CertificateRequest > &certificateRequest, const ptr_lib::shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation)
 Implement doFetch to use face_.expressInterest to fetch a certificate. More...
 

Additional Inherited Members

- Public Types inherited from ndn::CertificateFetcher
typedef func_lib::function
< void(const
ptr_lib::shared_ptr
< CertificateV2 > &certificate,
const ptr_lib::shared_ptr
< ValidationState > &state)> 
ValidationContinuation
 
- Protected Attributes inherited from ndn::CertificateFetcher
CertificateStoragecertificateStorage_
 

Detailed Description

CertificateFetcherFromNetwork extends CertificateFetcher to fetch missing certificates from the network.

Constructor & Destructor Documentation

ndn::CertificateFetcherFromNetwork::CertificateFetcherFromNetwork ( Face face)
inline

Create a CertificateFetcherFromNetwork to fetch certificates using the Face.

Parameters
faceThe face for calling expressInterest.

Member Function Documentation

virtual void ndn::CertificateFetcherFromNetwork::doFetch ( const ptr_lib::shared_ptr< CertificateRequest > &  certificateRequest,
const ptr_lib::shared_ptr< ValidationState > &  state,
const ValidationContinuation &  continueValidation 
)
inlineprotectedvirtual

Implement doFetch to use face_.expressInterest to fetch a certificate.

Parameters
certificateRequestThe the request with the Interest for fetching the certificate.
stateThe validation state.
continueValidationAfter fetching, this calls continueValidation(certificate, state) where certificate is the fetched certificate and state is the ValidationState.

Implements ndn::CertificateFetcher.


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