NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::v1::CertificateSubjectDescription Class Reference

A CertificateSubjectDescription represents the SubjectDescription entry in a Certificate. More...

#include <certificate-subject-description.hpp>

Public Member Functions

 CertificateSubjectDescription (CryptoPP::BufferedTransformation &in)
 
 CertificateSubjectDescription (const Oid &oid, const std::string &value)
 Create a new CertificateSubjectDescription. More...
 
void encode (CryptoPP::BufferedTransformation &out) const
 
void decode (CryptoPP::BufferedTransformation &in)
 
std::string getOidString () const
 
const std::string & getValue () const
 

Detailed Description

A CertificateSubjectDescription represents the SubjectDescription entry in a Certificate.

Definition at line 43 of file certificate-subject-description.hpp.

Constructor & Destructor Documentation

◆ CertificateSubjectDescription() [1/2]

ndn::security::v1::CertificateSubjectDescription::CertificateSubjectDescription ( CryptoPP::BufferedTransformation &  in)
inlineexplicit

Definition at line 47 of file certificate-subject-description.hpp.

◆ CertificateSubjectDescription() [2/2]

ndn::security::v1::CertificateSubjectDescription::CertificateSubjectDescription ( const Oid oid,
const std::string &  value 
)
inline

Create a new CertificateSubjectDescription.

Parameters
oidThe oid of the subject description entry.
valueThe value of the subject description entry.

Definition at line 57 of file certificate-subject-description.hpp.

Member Function Documentation

◆ encode()

void ndn::security::v1::CertificateSubjectDescription::encode ( CryptoPP::BufferedTransformation &  out) const

Definition at line 35 of file certificate-subject-description.cpp.

◆ decode()

void ndn::security::v1::CertificateSubjectDescription::decode ( CryptoPP::BufferedTransformation &  in)

Definition at line 57 of file certificate-subject-description.cpp.

◆ getOidString()

std::string ndn::security::v1::CertificateSubjectDescription::getOidString ( ) const
inline

Definition at line 69 of file certificate-subject-description.hpp.

◆ getValue()

const std::string& ndn::security::v1::CertificateSubjectDescription::getValue ( ) const
inline

Definition at line 75 of file certificate-subject-description.hpp.


The documentation for this class was generated from the following files: