NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
25
#include "
certificate-fetcher-from-network.hpp
"
26
27
namespace
ndn
{
28
namespace
security
{
29
namespace
v2 {
30
41
class
CertificateFetcherDirectFetch
:
public
CertificateFetcherFromNetwork
42
{
43
public
:
44
explicit
45
CertificateFetcherDirectFetch
(
Face
&
face
);
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
ndn::security::v2::CertificateFetcherFromNetwork
Fetch missing keys from the network.
Definition:
certificate-fetcher-from-network.hpp:39
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::security::v2::CertificateFetcherDirectFetch::CertificateFetcherDirectFetch
CertificateFetcherDirectFetch(Face &face)
Definition:
certificate-fetcher-direct-fetch.cpp:30
ndn::security::v2::CertificateFetcher::ValidationContinuation
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
Definition:
certificate-fetcher.hpp:43
certificate-fetcher-from-network.hpp
websocketpp::transport::asio::socket::error::security
Catch-all error for security policy errors that don't fit in other categories.
Definition:
base.hpp:79
ndn::security::v2::CertificateFetcherDirectFetch::doFetch
void doFetch(const shared_ptr< CertificateRequest > &keyRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Asynchronous certificate fetching implementation.
Definition:
certificate-fetcher-direct-fetch.cpp:36
ndn::Face
Provide a communication channel with local or remote NDN forwarder.
Definition:
face.hpp:95
face
ndn::security::v2::CertificateFetcherDirectFetch
Extends CertificateFetcherFromNetwork to fetch certificates from Interest sender. ...
Definition:
certificate-fetcher-direct-fetch.hpp:41
ndnSIM
ndn-cxx
src
security
v2
certificate-fetcher-direct-fetch.hpp
Generated on Thu Nov 2 2017 03:30:28 for ndnSIM by
1.8.11