NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
certificate-fetcher-offline.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #ifndef NDN_SECURITY_V2_CERTIFICATE_FETCHER_OFFLINE_HPP
23 #define NDN_SECURITY_V2_CERTIFICATE_FETCHER_OFFLINE_HPP
24 
25 #include "certificate-fetcher.hpp"
26 
27 namespace ndn {
28 namespace security {
29 namespace v2 {
30 
35 {
36 protected:
37  void
38  doFetch(const shared_ptr<CertificateRequest>& certRequest, const shared_ptr<ValidationState>& state,
39  const ValidationContinuation& continueValidation) override;
40 };
41 
42 } // namespace v2
43 } // namespace security
44 } // namespace ndn
45 
46 #endif // NDN_SECURITY_V2_CERTIFICATE_FETCHER_OFFLINE_HPP
Copyright (c) 2011-2015 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
void doFetch(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Asynchronous certificate fetching implementation.
Certificate fetcher realization that does not fetch keys (always offline)