NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
certificate-fetcher-from-network.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_FROM_NETWORK_HPP
23
#define NDN_SECURITY_V2_CERTIFICATE_FETCHER_FROM_NETWORK_HPP
24
25
#include "
certificate-fetcher.hpp
"
26
27
namespace
ndn
{
28
29
namespace
lp
{
30
class
Nack
;
31
}
// namespace lp
32
33
namespace
security {
34
namespace
v2 {
35
39
class
CertificateFetcherFromNetwork
:
public
CertificateFetcher
40
{
41
public
:
42
explicit
43
CertificateFetcherFromNetwork
(
Face
&
face
);
44
45
protected
:
46
void
47
doFetch
(
const
shared_ptr<CertificateRequest>& certRequest,
const
shared_ptr<ValidationState>& state,
48
const
ValidationContinuation
& continueValidation)
override
;
49
50
private
:
54
void
55
dataCallback(
const
Data
& data,
56
const
shared_ptr<CertificateRequest>& certRequest,
const
shared_ptr<ValidationState>& state,
57
const
ValidationContinuation
& continueValidation);
58
66
void
67
nackCallback(
const
lp::Nack
& nack,
68
const
shared_ptr<CertificateRequest>& certRequest,
const
shared_ptr<ValidationState>& state,
69
const
ValidationContinuation
& continueValidation);
70
76
void
77
timeoutCallback(
const
shared_ptr<CertificateRequest>& certRequest,
const
shared_ptr<ValidationState>& state,
78
const
ValidationContinuation
& continueValidation);
79
80
protected
:
81
Face
&
m_face
;
82
};
83
84
}
// namespace v2
85
}
// namespace security
86
}
// namespace ndn
87
88
#endif // NDN_SECURITY_V2_CERTIFICATE_FETCHER_FROM_NETWORK_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::CertificateFetcher
Interface used by the validator to fetch missing certificates.
Definition:
certificate-fetcher.hpp:39
ndn::security::v2::CertificateFetcher::ValidationContinuation
std::function< void(const Certificate &cert, const shared_ptr< ValidationState > &state)> ValidationContinuation
Definition:
certificate-fetcher.hpp:43
ndn::lp::Nack
represents a Network Nack
Definition:
nack.hpp:40
ndn::security::v2::CertificateFetcherFromNetwork::CertificateFetcherFromNetwork
CertificateFetcherFromNetwork(Face &face)
Definition:
certificate-fetcher-from-network.cpp:35
ndn::Face
Provide a communication channel with local or remote NDN forwarder.
Definition:
face.hpp:90
ndn::security::v2::CertificateFetcherFromNetwork::m_face
Face & m_face
Definition:
certificate-fetcher-from-network.hpp:81
face
ndn::lp::tlv::Nack
Definition:
tlv.hpp:39
ndn::lp
Definition:
cache-policy.cpp:28
certificate-fetcher.hpp
ndn::Data
Represents a Data packet.
Definition:
data.hpp:35
ndn::security::v2::CertificateFetcherFromNetwork::doFetch
void doFetch(const shared_ptr< CertificateRequest > &certRequest, const shared_ptr< ValidationState > &state, const ValidationContinuation &continueValidation) override
Asynchronous certificate fetching implementation.
Definition:
certificate-fetcher-from-network.cpp:41
ndnSIM
ndn-cxx
src
security
v2
certificate-fetcher-from-network.hpp
Generated on Tue Aug 7 2018 16:19:17 for ndnSIM by
1.8.14