NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
certificate-fetcher-direct-fetch.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_DIRECT_FETCH_HPP
23 #define NDN_SECURITY_V2_CERTIFICATE_FETCHER_DIRECT_FETCH_HPP
24 
26 
27 namespace ndn {
28 namespace security {
29 namespace v2 {
30 
42 {
43 public:
44  explicit
46 
47 protected:
48  void
49  doFetch(const shared_ptr<CertificateRequest>& keyRequest, const shared_ptr<ValidationState>& state,
50  const ValidationContinuation& continueValidation) override;
51 };
52 
53 } // namespace v2
54 } // namespace security
55 } // namespace ndn
56 
57 #endif // NDN_SECURITY_V2_CERTIFICATE_FETCHER_DIRECT_FETCH_HPP
Copyright (c) 2011-2015 Regents of the University of California.
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
Catch-all error for security policy errors that don&#39;t fit in other categories.
Definition: base.hpp:79
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.
Definition: face.hpp:95
Extends CertificateFetcherFromNetwork to fetch certificates from Interest sender. ...