a CryptoAPI certificate context, reference counted
More...
#include <crypt_certificate.h>
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
◆ data()
| const uint8_t * crypt::certificate::data |
( |
| ) |
const |
|
inlinenoexcept |
◆ dx_catchall_rethrow()
| crypt::certificate::dx_catchall_rethrow |
( |
| ) |
|
|
inline |
◆ 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: