dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
crypt::certificate Class Reference

a CryptoAPI certificate context, reference counted More...

#include <crypt_certificate.h>

Inheritance diagram for crypt::certificate:

Public Member Functions

 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) try
 the certificate of the DER bytes
const uint8_tdata () const noexcept
 the DER bytes
 dx_catchall_rethrow () virtual ~certificate()
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
certificateoperator= (const certificate &certificate) noexcept
size_t size () const noexcept

Protected Attributes

::PCCERT_CONTEXT context {}

Detailed Description

a CryptoAPI certificate context, reference counted

Access stays unretained (operator PCCERT_CONTEXT()), a copy takes a reference of its own.

Constructor & Destructor Documentation

◆ certificate() [1/4]

crypt::certificate::certificate ( )
default
Here is the caller graph for this function:

◆ 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)

Here is the call graph for this function:

◆ certificate() [3/4]

crypt::certificate::certificate ( const certificate & certificate)
inlinenoexcept
Here is the call graph for this function:

◆ certificate() [4/4]

crypt::certificate::certificate ( const uint8_t * der,
size_t size )
inline

the certificate of the DER bytes

Here is the call graph for this function:

Member Function Documentation

◆ data()

const uint8_t * crypt::certificate::data ( ) const
inlinenoexcept

the DER bytes

Here is the caller graph for this function:

◆ dx_catchall_rethrow()

crypt::certificate::dx_catchall_rethrow ( )
inline

◆ free()

void crypt::certificate::free ( )
inlinenoexcept
Here is the caller graph for this function:

◆ 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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator::PCCERT_CONTEXT()

crypt::certificate::operator::PCCERT_CONTEXT ( ) const
inlinenoexcept
Here is the caller graph for this function:

◆ operator=()

certificate & crypt::certificate::operator= ( const certificate & certificate)
inlinenoexcept
Here is the call graph for this function:

◆ size()

size_t crypt::certificate::size ( ) const
inlinenoexcept
Here is the caller graph for this function:

Member Data Documentation

◆ context

::PCCERT_CONTEXT crypt::certificate::context {}
protected

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.