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
base64-encode.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_BASE64_ENCODE_HPP
23
#define NDN_CXX_SECURITY_TRANSFORM_BASE64_ENCODE_HPP
24
25
#include "
transform-base.hpp
"
26
27
namespace
ndn
{
28
namespace
security
{
29
namespace
transform {
30
34
class
Base64Encode
:
public
Transform
35
{
36
public
:
42
explicit
43
Base64Encode
(
bool
needBreak =
true
);
44
45
private
:
49
virtual
void
50
preTransform()
final
;
51
56
virtual
size_t
57
convert(
const
uint8_t* data,
size_t
dataLen)
final
;
58
64
virtual
void
65
finalize()
final
;
66
70
void
71
fillOutputBuffer();
72
76
bool
77
isConverterEmpty();
78
79
private
:
80
class
Impl
;
81
unique_ptr<Impl> m_impl;
82
};
83
84
unique_ptr<Transform>
85
base64Encode
(
bool
needBreak =
true
);
86
87
}
// namespace transform
88
}
// namespace security
89
}
// namespace ndn
90
91
#endif // NDN_CXX_SECURITY_TRANSFORM_BASE64_ENCODE_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::Base64Encode::Impl
The implementation class which contains the internal state of the filter which includes openssl speci...
Definition:
base64-encode.cpp:34
ndn::security::transform::Base64Encode
The module to perform Base64 encoding transformation.
Definition:
base64-encode.hpp:34
ndn::security::transform::Base64Encode::Base64Encode
Base64Encode(bool needBreak=true)
Create a base64 encoding module.
Definition:
base64-encode.cpp:55
ndn::security::transform::Transform
Abstraction of an intermediate transformation module.
Definition:
transform-base.hpp:185
security
ndn::security::transform::base64Encode
unique_ptr< Transform > base64Encode(bool needBreak)
Definition:
base64-encode.cpp:128
ndnSIM
ndn-cxx
src
security
transform
base64-encode.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13