A CertificateExtension represents the Extension entry in a certificate. More...
#include <certificate-extension.hpp>
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 OID & | getOid () const |
bool | getIsCritical () const |
const Buffer & | getValue () const |
Protected Attributes | |
OID | m_extensionId |
bool | m_isCritical |
Buffer | m_extensionValue |
A CertificateExtension represents the Extension entry in a certificate.
Definition at line 42 of file certificate-extension.hpp.
|
inlineexplicit |
Definition at line 56 of file certificate-extension.hpp.
|
inline |
Create a new CertificateExtension.
oid | The oid of subject description entry. |
isCritical | If true, the extension must be handled. |
value | The extension value. |
Definition at line 67 of file certificate-extension.hpp.
|
inline |
Definition at line 72 of file certificate-extension.hpp.
|
inlinevirtual |
The virtual destructor.
Definition at line 82 of file certificate-extension.hpp.
void ndn::CertificateExtension::encode | ( | CryptoPP::BufferedTransformation & | out | ) | const |
Definition at line 33 of file certificate-extension.cpp.
References ndn::Buffer::buf(), ndn::OID::encode(), m_extensionId, m_extensionValue, and m_isCritical.
void ndn::CertificateExtension::decode | ( | CryptoPP::BufferedTransformation & | in | ) |
Definition at line 52 of file certificate-extension.cpp.
References ndn::OID::decode(), m_extensionId, m_extensionValue, and m_isCritical.
|
inline |
Definition at line 93 of file certificate-extension.hpp.
|
inline |
Definition at line 99 of file certificate-extension.hpp.
|
inline |
Definition at line 105 of file certificate-extension.hpp.
|
protected |
Definition at line 111 of file certificate-extension.hpp.
|
protected |
Definition at line 112 of file certificate-extension.hpp.
|
protected |
Definition at line 113 of file certificate-extension.hpp.