NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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
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
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
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
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
g
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
f
i
k
l
n
o
p
s
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
certificate-cache.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
24
#ifndef NDN_SECURITY_CERTIFICATE_CACHE_HPP
25
#define NDN_SECURITY_CERTIFICATE_CACHE_HPP
26
27
#include "../name.hpp"
28
#include "
identity-certificate.hpp
"
29
30
namespace
ndn
{
31
35
class
CertificateCache
: noncopyable
36
{
37
public
:
38
virtual
39
~CertificateCache
()
40
{
41
}
42
43
virtual
void
44
insertCertificate
(shared_ptr<const IdentityCertificate> certificate) = 0;
45
46
virtual
shared_ptr<const IdentityCertificate>
47
getCertificate
(
const
Name
& certificateNameWithoutVersion) = 0;
48
49
virtual
void
50
reset
() = 0;
51
52
virtual
size_t
53
getSize
() = 0;
54
55
bool
56
isEmpty
()
57
{
58
return
(
getSize
() == 0);
59
}
60
};
61
62
}
// namespace ndn
63
64
#endif // NDN_SECURITY_CERTIFICATE_CACHE_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::CertificateCache::getSize
virtual size_t getSize()=0
ndn::CertificateCache::reset
virtual void reset()=0
ndn::CertificateCache::insertCertificate
virtual void insertCertificate(shared_ptr< const IdentityCertificate > certificate)=0
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
identity-certificate.hpp
ndn::CertificateCache
Interface for the cache of validated certificates.
Definition:
certificate-cache.hpp:35
ndn::CertificateCache::getCertificate
virtual shared_ptr< const IdentityCertificate > getCertificate(const Name &certificateNameWithoutVersion)=0
ndn::CertificateCache::~CertificateCache
virtual ~CertificateCache()
Definition:
certificate-cache.hpp:39
ndn::CertificateCache::isEmpty
bool isEmpty()
Definition:
certificate-cache.hpp:56
ndnSIM
ndn-cxx
src
security
certificate-cache.hpp
Generated on Sat Nov 12 2016 16:02:52 for ndnSIM by
1.8.12