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-offline.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#include "
certificate-fetcher-offline.hpp
"
23
24
namespace
ndn
{
25
namespace
security
{
26
namespace
v2 {
27
28
void
29
CertificateFetcherOffline::doFetch
(
const
shared_ptr<CertificateRequest>& certRequest,
30
const
shared_ptr<ValidationState>& state,
31
const
ValidationContinuation
& continueValidation)
32
{
33
state->fail({ValidationError::Code::CANNOT_RETRIEVE_CERT,
34
"Cannot fetch certificate "
+ certRequest->m_interest.getName().toUri() +
" in offline mode"
});
35
}
36
37
}
// namespace v2
38
}
// namespace security
39
}
// namespace ndn
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::security::v2::CertificateFetcher::ValidationContinuation
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
Definition:
certificate-fetcher.hpp:43
ndn::security::v2::CertificateFetcherOffline::doFetch
void doFetch(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Asynchronous certificate fetching implementation.
Definition:
certificate-fetcher-offline.cpp:29
websocketpp::transport::asio::socket::error::security
Catch-all error for security policy errors that don't fit in other categories.
Definition:
base.hpp:79
certificate-fetcher-offline.hpp
ndnSIM
ndn-cxx
src
security
v2
certificate-fetcher-offline.cpp
Generated on Thu Nov 2 2017 03:30:28 for ndnSIM by
1.8.11