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

CertificateFetcherOffline extends CertificateFetcher to implement a fetcher that does not fetch certificates (always offline). More...

#include <certificate-fetcher-offline.hpp>

Inheritance diagram for ndn::CertificateFetcherOffline:
ndn::CertificateFetcher

Protected Member Functions

virtual void doFetch (const ptr_lib::shared_ptr< CertificateRequest > &certificateRequest, const ptr_lib::shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation)
 An implementation to fetch a certificate asynchronously. 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
 
- 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 Attributes inherited from ndn::CertificateFetcher
CertificateStoragecertificateStorage_
 

Detailed Description

CertificateFetcherOffline extends CertificateFetcher to implement a fetcher that does not fetch certificates (always offline).

Member Function Documentation

void ndn::CertificateFetcherOffline::doFetch ( const ptr_lib::shared_ptr< CertificateRequest > &  certificateRequest,
const ptr_lib::shared_ptr< ValidationState > &  state,
const ValidationContinuation &  continueValidation 
)
protectedvirtual

An implementation to fetch a certificate asynchronously.

The subclass must implement this method.

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 files: