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
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
h
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
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
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
b
c
d
e
f
g
h
i
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
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
digest-filter.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_CXX_SECURITY_TRANSFORM_DIGEST_FILTER_HPP
23
#define NDN_CXX_SECURITY_TRANSFORM_DIGEST_FILTER_HPP
24
25
#include "
transform-base.hpp
"
26
#include "../security-common.hpp"
27
28
namespace
ndn
{
29
namespace
security
{
30
namespace
transform {
31
35
class
DigestFilter
:
public
Transform
36
{
37
public
:
41
explicit
42
DigestFilter
(
DigestAlgorithm
algo);
43
44
private
:
50
virtual
size_t
51
convert(
const
uint8_t* buf,
size_t
size)
final
;
52
56
virtual
void
57
finalize()
final
;
58
59
private
:
60
class
Impl
;
61
unique_ptr<Impl> m_impl;
62
};
63
64
unique_ptr<Transform>
65
digestFilter
(
DigestAlgorithm
algo =
DigestAlgorithm::SHA256
);
66
67
}
// namespace transform
68
}
// namespace security
69
}
// namespace ndn
70
71
#endif // NDN_CXX_SECURITY_TRANSFORM_DIGEST_FILTER_HPP
transform-base.hpp
There are three types of module in a transformation chain: Source, Transform, and Sink...
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::security::transform::DigestFilter::DigestFilter
DigestFilter(DigestAlgorithm algo)
Create a digest module with algorithm algo.
Definition:
digest-filter.cpp:56
ndn::security::transform::DigestFilter
The module to calculate digest.
Definition:
digest-filter.hpp:35
ndn::security::transform::DigestFilter::Impl
The implementation class which contains the internal state of the digest calculator which includes op...
Definition:
digest-filter.cpp:36
ndn::security::transform::digestFilter
unique_ptr< Transform > digestFilter(DigestAlgorithm algo)
Definition:
digest-filter.cpp:104
ndn::security::transform::Transform
Abstraction of an intermediate transformation module.
Definition:
transform-base.hpp:185
ndn::DigestAlgorithm::SHA256
ndn::DigestAlgorithm
DigestAlgorithm
Definition:
security-common.hpp:70
security
ndnSIM
ndn-cxx
src
security
transform
digest-filter.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13