CertificateFetcherOffline extends CertificateFetcher to implement a fetcher that does not fetch certificates (always offline). More...
#include <certificate-fetcher-offline.hpp>
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 | |
| CertificateStorage * | certificateStorage_ |
CertificateFetcherOffline extends CertificateFetcher to implement a fetcher that does not fetch certificates (always offline).
|
protectedvirtual |
An implementation to fetch a certificate asynchronously.
The subclass must implement this method.
| certificateRequest | The the request with the Interest for fetching the certificate. |
| state | The validation state. |
| continueValidation | After fetching, this calls continueValidation(certificate, state) where certificate is the fetched certificate and state is the ValidationState. |
Implements ndn::CertificateFetcher.
1.8.6