a CryptoAPI certificate context, reference counted
More...
#include <crypt_certificate.h>
|
| | certificate ()=default |
| | certificate (::PCCERT_CONTEXT context, bool duplicate=true) noexcept |
| | a reference to the context (duplicate), or the context itself (its one reference passes to the certificate)
|
| | certificate (const certificate &certificate) noexcept |
| | certificate (const uint8_t *der, size_t size) |
| | the certificate of the DER bytes
|
| const uint8_t * | data () const noexcept |
| | the DER bytes
|
| void | free () noexcept |
| std::string | name (::DWORD type=CERT_NAME_SIMPLE_DISPLAY_TYPE, ::DWORD flags=0) const |
| | a name of the certificate (CertGetNameString), the subject's simple display name by default
|
| | operator::PCCERT_CONTEXT () const noexcept |
| certificate & | operator= (const certificate &certificate) noexcept |
| size_t | size () const noexcept |
| virtual | ~certificate () |
a CryptoAPI certificate context, reference counted
Access stays unretained (operator PCCERT_CONTEXT()), a copy takes a reference of its own.
◆ certificate() [1/4]
| crypt::certificate::certificate |
( |
| ) |
|
|
default |
◆ certificate() [2/4]
| crypt::certificate::certificate |
( |
::PCCERT_CONTEXT | context, |
|
|
bool | duplicate = true ) |
|
inlinenoexcept |
a reference to the context (duplicate), or the context itself (its one reference passes to the certificate)
◆ certificate() [3/4]
| crypt::certificate::certificate |
( |
const certificate & | certificate | ) |
|
|
inlinenoexcept |
◆ certificate() [4/4]
| crypt::certificate::certificate |
( |
const uint8_t * | der, |
|
|
size_t | size ) |
|
inline |
the certificate of the DER bytes
◆ ~certificate()
| virtual crypt::certificate::~certificate |
( |
| ) |
|
|
inlinevirtual |
◆ data()
| const uint8_t * crypt::certificate::data |
( |
| ) |
const |
|
inlinenoexcept |
◆ free()
| void crypt::certificate::free |
( |
| ) |
|
|
inlinenoexcept |
◆ name()
| std::string crypt::certificate::name |
( |
::DWORD | type = CERT_NAME_SIMPLE_DISPLAY_TYPE, |
|
|
::DWORD | flags = 0 ) const |
|
inline |
a name of the certificate (CertGetNameString), the subject's simple display name by default
◆ operator::PCCERT_CONTEXT()
| crypt::certificate::operator::PCCERT_CONTEXT |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=()
◆ size()
| size_t crypt::certificate::size |
( |
| ) |
const |
|
inlinenoexcept |
◆ context
The documentation for this class was generated from the following file: