#include <x509cert.hpp>
|
static std::string | der_to_pem (const unsigned char *der, size_t der_size) |
|
static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result.
|
|
|
static constexpr const char * | begin_cert = "-----BEGIN CERTIFICATE-----\n" |
|
static constexpr const char * | end_cert = "-----END CERTIFICATE-----\n" |
|
Definition at line 34 of file x509cert.hpp.
◆ Ptr
◆ X509Cert() [1/2]
openvpn::MbedTLSPKI::X509Cert::X509Cert |
( |
| ) |
|
|
inline |
◆ X509Cert() [2/2]
openvpn::MbedTLSPKI::X509Cert::X509Cert |
( |
const std::string & |
cert_txt, |
|
|
const std::string & |
title, |
|
|
const bool |
strict |
|
) |
| |
|
inline |
◆ ~X509Cert()
virtual openvpn::MbedTLSPKI::X509Cert::~X509Cert |
( |
| ) |
|
|
inlinevirtual |
◆ alloc()
void openvpn::MbedTLSPKI::X509Cert::alloc |
( |
| ) |
|
|
inlineprotected |
◆ dealloc()
void openvpn::MbedTLSPKI::X509Cert::dealloc |
( |
| ) |
|
|
inlineprivate |
◆ der_to_pem()
static std::string openvpn::MbedTLSPKI::X509Cert::der_to_pem |
( |
const unsigned char * |
der, |
|
|
size_t |
der_size |
|
) |
| |
|
inlinestatic |
◆ extract()
std::string openvpn::MbedTLSPKI::X509Cert::extract |
( |
| ) |
const |
|
inline |
◆ extract_extra_certs()
std::vector< std::string > openvpn::MbedTLSPKI::X509Cert::extract_extra_certs |
( |
| ) |
const |
|
inline |
◆ get()
mbedtls_x509_crt * openvpn::MbedTLSPKI::X509Cert::get |
( |
| ) |
const |
|
inline |
◆ parse()
void openvpn::MbedTLSPKI::X509Cert::parse |
( |
const std::string & |
cert_txt, |
|
|
const std::string & |
title, |
|
|
const bool |
strict |
|
) |
| |
|
inline |
◆ begin_cert
constexpr const char* openvpn::MbedTLSPKI::X509Cert::begin_cert = "-----BEGIN CERTIFICATE-----\n" |
|
staticconstexprprivate |
◆ chain
mbedtls_x509_crt* openvpn::MbedTLSPKI::X509Cert::chain |
|
protected |
◆ end_cert
constexpr const char* openvpn::MbedTLSPKI::X509Cert::end_cert = "-----END CERTIFICATE-----\n" |
|
staticconstexprprivate |
The documentation for this class was generated from the following file: