22 #ifndef NDN_CXX_SECURITY_CERTIFICATE_BUNDLE_FETCHER_HPP 23 #define NDN_CXX_SECURITY_CERTIFICATE_BUNDLE_FETCHER_HPP 70 doFetch(
const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
83 fetchFirstBundleSegment(
const Name& bundleNamePrefix,
84 const shared_ptr<CertificateRequest>& certRequest,
85 const shared_ptr<ValidationState>& state,
93 const shared_ptr<CertificateRequest>& certRequest,
94 const shared_ptr<ValidationState>& state,
120 dataCallback(
const Data& data,
bool isSegmentZeroExpected,
121 const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
129 const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
136 timeoutCallback(
const shared_ptr<CertificateRequest>& certRequest,
const shared_ptr<ValidationState>& state,
140 unique_ptr<CertificateFetcher> m_inner;
151 #endif // NDN_CXX_SECURITY_CERTIFICATE_BUNDLE_FETCHER_HPP Copyright (c) 2011-2015 Regents of the University of California.
Interface used by the validator to fetch missing certificates.
void setBundleInterestLifetime(time::milliseconds time)
Set the lifetime of certificate bundle interest.
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
CertificateBundleFetcher(unique_ptr< CertificateFetcher > inner, Face &face)
represents a Network Nack
provides a tag type for simple types
Storage for trusted anchors, verified certificate cache, and unverified certificate cache...
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.
Represents an absolute name.
Fetch certificate bundle from the network.
Represents a name component.
Represents a Data packet.
void setCertificateStorage(CertificateStorage &certStorage) override
Set the storage for this and inner certificate fetcher.
time::milliseconds getBundleInterestLifetime() const
boost::chrono::milliseconds milliseconds