Public Member Functions | Protected Attributes | List of all members
ndn::CertificateExtension Class Reference

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

#include <certificate-extension.hpp>

Public Member Functions

 CertificateExtension (const std::string &oid, const bool isCritical, const Blob &value)
 Create a new CertificateExtension. More...
 
 CertificateExtension (const OID &oid, const bool isCritical, const Blob &value)
 Create a new CertificateExtension. More...
 
virtual ~CertificateExtension ()
 The virtual destructor.
 
ptr_lib::shared_ptr< DerNode > toDer () const
 encode the object into DER syntax tree More...
 
Blob toDerBlob () const
 
const OID & getOid () const
 
bool getIsCritical () const
 
const Blob & getValue () const
 

Protected Attributes

OID extensionId_
 
bool isCritical_
 
Blob extensionValue_
 

Detailed Description

A CertificateExtension represents the Extension entry in a certificate.

Constructor & Destructor Documentation

ndn::CertificateExtension::CertificateExtension ( const std::string &  oid,
const bool  isCritical,
const Blob &  value 
)
inline

Create a new CertificateExtension.

Parameters
oidThe oid of subject description entry.
isCriticalIf true, the extension must be handled.
valueThe extension value.
ndn::CertificateExtension::CertificateExtension ( const OID &  oid,
const bool  isCritical,
const Blob &  value 
)
inline

Create a new CertificateExtension.

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

Member Function Documentation

ptr_lib::shared_ptr< DerNode > ndn::CertificateExtension::toDer ( ) const

encode the object into DER syntax tree

Returns
the encoded DER syntax tree

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