22 #ifndef NDN_SECURITY_V2_CERTIFICATE_FETCHER_FROM_NETWORK_HPP
23 #define NDN_SECURITY_V2_CERTIFICATE_FETCHER_FROM_NETWORK_HPP
47 doFetch(
const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
55 dataCallback(
const Data& data,
56 const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
68 const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
77 timeoutCallback(
const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
88 #endif // NDN_SECURITY_V2_CERTIFICATE_FETCHER_FROM_NETWORK_HPP
Fetch missing keys from the network.
Copyright (c) 2013-2016 Regents of the University of California.
Interface used by the validator to fetch missing certificates.
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
represents a Network Nack
CertificateFetcherFromNetwork(Face &face)
Provide a communication channel with local or remote NDN forwarder.
void doFetch(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Asynchronous certificate fetching implementation.