NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::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 41 of file certificate-subject-description.hpp.

Constructor & Destructor Documentation

◆ CertificateSubjectDescription() [1/2]

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

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

References decode().

◆ CertificateSubjectDescription() [2/2]

ndn::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 55 of file certificate-subject-description.hpp.

Member Function Documentation

◆ encode()

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

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

◆ decode()

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

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

Referenced by CertificateSubjectDescription().

◆ getOidString()

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

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

References ndn::OID::toString().

◆ getValue()

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

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


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