22 #ifndef NDN_SECURITY_V2_CERTIFICATE_FETCHER_DIRECT_FETCH_HPP 23 #define NDN_SECURITY_V2_CERTIFICATE_FETCHER_DIRECT_FETCH_HPP 54 doFetch(
const shared_ptr<CertificateRequest>& keyRequest,
const shared_ptr<ValidationState>& state,
58 bool m_wantDirectInterestOnly =
false;
65 #endif // NDN_SECURITY_V2_CERTIFICATE_FETCHER_DIRECT_FETCH_HPP Fetch missing keys from the network.
CertificateFetcherDirectFetch(Face &face)
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
void doFetch(const shared_ptr< CertificateRequest > &keyRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Asynchronous certificate fetching implementation.
Provide a communication channel with local or remote NDN forwarder.
Extends CertificateFetcherFromNetwork to fetch certificates from the incoming face of the packet...
void setSendDirectInterestOnly(bool wantDirectInterestOnly)
If wantDirectInterestOnly, only the direct Interest will be sent out.