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-subject-description.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NDN_SECURITY_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
27
#define NDN_SECURITY_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
28
29
#include "../common.hpp"
30
#include "../encoding/oid.hpp"
31
32
namespace
CryptoPP
{
33
class
BufferedTransformation;
34
}
35
36
namespace
ndn
{
37
41
class
CertificateSubjectDescription
42
{
43
public
:
44
explicit
45
CertificateSubjectDescription
(CryptoPP::BufferedTransformation& in)
46
{
47
decode(in);
48
}
49
55
CertificateSubjectDescription
(
const
OID
& oid,
const
std::string& value)
56
: m_oid(oid), m_value(value)
57
{
58
}
59
60
void
61
encode(CryptoPP::BufferedTransformation& out)
const
;
62
63
void
64
decode(CryptoPP::BufferedTransformation& in);
65
66
std::string
67
getOidString
()
const
68
{
69
return
m_oid.toString();
70
}
71
72
const
std::string&
73
getValue
()
const
74
{
75
return
m_value;
76
}
77
78
private
:
79
OID
m_oid;
80
std::string m_value;
81
};
82
83
}
// namespace ndn
84
85
#endif //NDN_SECURITY_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
ndn::CertificateSubjectDescription::getOidString
std::string getOidString() const
Definition:
certificate-subject-description.hpp:67
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
CryptoPP
Copyright (c) 2013-2014 Regents of the University of California.
Definition:
oid.hpp:29
ndn::CertificateSubjectDescription
A CertificateSubjectDescription represents the SubjectDescription entry in a Certificate.
Definition:
certificate-subject-description.hpp:41
ndn::CertificateSubjectDescription::CertificateSubjectDescription
CertificateSubjectDescription(CryptoPP::BufferedTransformation &in)
Definition:
certificate-subject-description.hpp:45
ndn::CertificateSubjectDescription::getValue
const std::string & getValue() const
Definition:
certificate-subject-description.hpp:73
ndn::OID
Definition:
oid.hpp:35
ndn::CertificateSubjectDescription::CertificateSubjectDescription
CertificateSubjectDescription(const OID &oid, const std::string &value)
Create a new CertificateSubjectDescription.
Definition:
certificate-subject-description.hpp:55
ndnSIM
ndn-cxx
src
security
certificate-subject-description.hpp
Generated on Sat Nov 12 2016 16:02:52 for ndnSIM by
1.8.12