CertificateFetcherFromNetwork extends CertificateFetcher to fetch missing certificates from the network. More...
#include <certificate-fetcher-from-network.hpp>
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 | |
| CertificateStorage * | certificateStorage_ |
CertificateFetcherFromNetwork extends CertificateFetcher to fetch missing certificates from the network.
|
inline |
Create a CertificateFetcherFromNetwork to fetch certificates using the Face.
| face | The face for calling expressInterest. |
|
inlineprotectedvirtual |
Implement doFetch to use face_.expressInterest to fetch a certificate.
| 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