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

A CertificateExtension represents the Extension entry in a certificate. More...

#include <certificate-extension.hpp>

Collaboration diagram for ndn::CertificateExtension:

Classes

class  Error
 

Public Member Functions

 CertificateExtension (CryptoPP::BufferedTransformation &in)
 
 CertificateExtension (const OID &oid, const bool isCritical, const Buffer &value)
 Create a new CertificateExtension. More...
 
 CertificateExtension (const OID &oid, const bool isCritical, const uint8_t *value, size_t valueSize)
 
virtual ~CertificateExtension ()
 The virtual destructor. More...
 
void encode (CryptoPP::BufferedTransformation &out) const
 
void decode (CryptoPP::BufferedTransformation &in)
 
const OIDgetOid () const
 
bool getIsCritical () const
 
const BuffergetValue () const
 

Protected Attributes

OID m_extensionId
 
bool m_isCritical
 
Buffer m_extensionValue
 

Detailed Description

A CertificateExtension represents the Extension entry in a certificate.

Definition at line 42 of file certificate-extension.hpp.

Constructor & Destructor Documentation

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

Definition at line 56 of file certificate-extension.hpp.

ndn::CertificateExtension::CertificateExtension ( const OID oid,
const bool  isCritical,
const Buffer value 
)
inline

Create a new CertificateExtension.

Parameters
oidThe oid of subject description entry.
isCriticalIf true, the extension must be handled.
valueThe extension value.

Definition at line 67 of file certificate-extension.hpp.

ndn::CertificateExtension::CertificateExtension ( const OID oid,
const bool  isCritical,
const uint8_t *  value,
size_t  valueSize 
)
inline

Definition at line 72 of file certificate-extension.hpp.

virtual ndn::CertificateExtension::~CertificateExtension ( )
inlinevirtual

The virtual destructor.

Definition at line 82 of file certificate-extension.hpp.

Member Function Documentation

void ndn::CertificateExtension::encode ( CryptoPP::BufferedTransformation &  out) const
void ndn::CertificateExtension::decode ( CryptoPP::BufferedTransformation &  in)
const OID& ndn::CertificateExtension::getOid ( ) const
inline

Definition at line 93 of file certificate-extension.hpp.

bool ndn::CertificateExtension::getIsCritical ( ) const
inline

Definition at line 99 of file certificate-extension.hpp.

const Buffer& ndn::CertificateExtension::getValue ( ) const
inline

Definition at line 105 of file certificate-extension.hpp.

Member Data Documentation

OID ndn::CertificateExtension::m_extensionId
protected

Definition at line 111 of file certificate-extension.hpp.

Referenced by decode(), and encode().

bool ndn::CertificateExtension::m_isCritical
protected

Definition at line 112 of file certificate-extension.hpp.

Referenced by decode(), and encode().

Buffer ndn::CertificateExtension::m_extensionValue
protected

Definition at line 113 of file certificate-extension.hpp.

Referenced by decode(), and encode().


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