libcamgm
|
Read-only data representation of a certificate. More...
#include <CertificateData.hpp>
Public Member Functions | |
CertificateData (const CertificateData &data) | |
virtual | ~CertificateData () |
CertificateData & | operator= (const CertificateData &data) |
uint32_t | getVersion () const |
std::string | getSerial () const |
time_t | getStartDate () const |
time_t | getEndDate () const |
DNObject | getIssuerDN () const |
DNObject | getSubjectDN () const |
uint32_t | getKeysize () const |
KeyAlg | getPublicKeyAlgorithm () const |
std::string | getPublicKeyAlgorithmAsString () const |
ca_mgm::ByteBuffer | getPublicKey () const |
SigAlg | getSignatureAlgorithm () const |
std::string | getSignatureAlgorithmAsString () const |
ca_mgm::ByteBuffer | getSignature () const |
std::string | getFingerprint () const |
X509v3CertificateExts | getExtensions () const |
std::string | getCertificateAsText () const |
std::string | getExtensionsAsText () const |
virtual bool | valid () const |
virtual std::vector< std::string > | verify () const |
virtual std::vector< std::string > | dump () const |
Protected Member Functions | |
CertificateData () | |
Protected Attributes | |
ca_mgm::RWCOW_pointer< CertificateDataImpl > | m_impl |
Read-only data representation of a certificate.
This class is a read-only data representation of a certificate
ca_mgm::CertificateData::CertificateData | ( | const CertificateData & | data | ) |
|
virtual |
|
protected |
|
virtual |
std::string ca_mgm::CertificateData::getCertificateAsText | ( | ) | const |
Return the Certificate data as human readable text. (Format may change)
time_t ca_mgm::CertificateData::getEndDate | ( | ) | const |
X509v3CertificateExts ca_mgm::CertificateData::getExtensions | ( | ) | const |
std::string ca_mgm::CertificateData::getExtensionsAsText | ( | ) | const |
Return the Certificate extensions as human readable text. (Format may change)
std::string ca_mgm::CertificateData::getFingerprint | ( | ) | const |
DNObject ca_mgm::CertificateData::getIssuerDN | ( | ) | const |
uint32_t ca_mgm::CertificateData::getKeysize | ( | ) | const |
ca_mgm::ByteBuffer ca_mgm::CertificateData::getPublicKey | ( | ) | const |
KeyAlg ca_mgm::CertificateData::getPublicKeyAlgorithm | ( | ) | const |
std::string ca_mgm::CertificateData::getPublicKeyAlgorithmAsString | ( | ) | const |
std::string ca_mgm::CertificateData::getSerial | ( | ) | const |
ca_mgm::ByteBuffer ca_mgm::CertificateData::getSignature | ( | ) | const |
SigAlg ca_mgm::CertificateData::getSignatureAlgorithm | ( | ) | const |
std::string ca_mgm::CertificateData::getSignatureAlgorithmAsString | ( | ) | const |
time_t ca_mgm::CertificateData::getStartDate | ( | ) | const |
DNObject ca_mgm::CertificateData::getSubjectDN | ( | ) | const |
uint32_t ca_mgm::CertificateData::getVersion | ( | ) | const |
CertificateData& ca_mgm::CertificateData::operator= | ( | const CertificateData & | data | ) |
|
virtual |
|
virtual |
|
protected |