22 #ifndef NDN_SECURITY_V2_CERTIFICATE_FETCHER_HPP 23 #define NDN_SECURITY_V2_CERTIFICATE_FETCHER_HPP 43 const shared_ptr<ValidationState>& state)>;
72 fetch(
const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
80 doFetch(
const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
91 #endif // NDN_SECURITY_V2_CERTIFICATE_FETCHER_HPP Copyright (c) 2013-2017 Regents of the University of California.
The certificate following the certificate format naming convention.
Interface used by the validator to fetch missing certificates.
CertificateStorage * m_certStorage
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
Storage for trusted anchors, verified certificate cache, and unverified certificate cache...
void fetch(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation)
Asynchronously fetch certificate.
virtual ~CertificateFetcher()
virtual void setCertificateStorage(CertificateStorage &certStorage)
Assign certificate storage to check known certificate and to cache unverified ones.