Fetch missing keys from the network. More...
#include <certificate-fetcher-from-network.hpp>
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 | |
Face & | m_face |
Protected Attributes inherited from ndn::security::v2::CertificateFetcher | |
CertificateStorage * | m_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)> |
Fetch missing keys from the network.
Definition at line 39 of file certificate-fetcher-from-network.hpp.
|
explicit |
Definition at line 35 of file certificate-fetcher-from-network.cpp.
|
overrideprotectedvirtual |
Asynchronous certificate fetching implementation.
Implements ndn::security::v2::CertificateFetcher.
Definition at line 41 of file certificate-fetcher-from-network.cpp.
References ndn::Face::expressInterest(), ndn::security::v2::CertificateFetcher::fetch(), ndn::Data::getName(), ndn::lp::Nack::getReason(), m_face, NDN_LOG_DEBUG_DEPTH, and ndn::Name::toUri().
Referenced by ndn::security::v2::CertificateFetcherDirectFetch::doFetch().
|
protected |
Definition at line 81 of file certificate-fetcher-from-network.hpp.
Referenced by doFetch(), and ndn::security::v2::CertificateFetcherDirectFetch::doFetch().