NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
base64-decode.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_DECODE_HPP
23
#define NDN_CXX_SECURITY_TRANSFORM_BASE64_DECODE_HPP
24
25
#include "
transform-base.hpp
"
26
27
namespace
ndn
{
28
namespace
security
{
29
namespace
transform {
30
34
class
Base64Decode
:
public
Transform
35
{
36
public
:
44
explicit
45
Base64Decode
(
bool
expectNewlineEvery64Bytes =
true
);
46
47
private
:
48
52
virtual
void
53
preTransform()
final
;
54
60
virtual
size_t
61
convert(
const
uint8_t* buf,
size_t
size)
final
;
62
68
virtual
void
69
finalize()
final
;
70
74
void
75
fillOutputBuffer();
76
77
private
:
78
class
Impl
;
79
unique_ptr<Impl> m_impl;
80
};
81
82
unique_ptr<Transform>
83
base64Decode
(
bool
expectNewlineEvery64Bytes =
true
);
84
85
}
// namespace transform
86
}
// namespace security
87
}
// namespace ndn
88
89
#endif // NDN_CXX_SECURITY_TRANSFORM_BASE64_DECODE_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::base64Decode
unique_ptr< Transform > base64Decode(bool expectNewlineEvery64Bytes)
Definition:
base64-decode.cpp:128
ndn::security::transform::Base64Decode::Impl
The implementation class which contains the internal state of the filter which includes openssl speci...
Definition:
base64-decode.cpp:34
ndn::security::transform::Base64Decode::Base64Decode
Base64Decode(bool expectNewlineEvery64Bytes=true)
Create a base64 decoding module.
Definition:
base64-decode.cpp:61
ndn::security::transform::Transform
Abstraction of an intermediate transformation module.
Definition:
transform-base.hpp:185
ndn::security::transform::Base64Decode
The module to perform Base64 decoding transformation.
Definition:
base64-decode.hpp:34
security
ndnSIM
ndn-cxx
src
security
transform
base64-decode.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13