dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
crypt::store Class Reference

a system certificate store by name and location, read only More...

#include <crypt_store.h>

Public Member Functions

template<typename visit_t>
bool each(::DWORD type, const void* parameter, visit_t visit) const
 every certificate matching (type, parameter: CertFindCertificateInStore), until visit(certificate&) returns false
 operator bool() const noexcept
 operator ::HCERTSTORE() const noexcept
 store(const char* name, ::DWORD location= CERT_SYSTEM_STORE_CURRENT_USER) noexcept
 the system store; a missing one leaves the store empty (operator bool)
 store(const store &)= delete
virtual ~store()

Protected Attributes

::HCERTSTORE handle{}

Detailed Description

a system certificate store by name and location, read only

Constructor & Destructor Documentation

◆ store() [1/2]

crypt::store::store(const char* name, ::DWORD location= CERT_SYSTEM_STORE_CURRENT_USER)
inlinenoexcept

the system store; a missing one leaves the store empty (operator bool)

Here is the caller graph for this function:

◆ store() [2/2]

crypt::store::store(const store&)
delete
Here is the call graph for this function:

◆ ~store()

virtual crypt::store::~store()
inlinevirtual

Member Function Documentation

◆ each()

template<typename visit_t>
bool crypt::store::each(::DWORD type, const void* parameter, visit_t visit) const
inline

every certificate matching (type, parameter: CertFindCertificateInStore), until visit(certificate&) returns false

Here is the caller graph for this function:

◆ operator bool()

crypt::store::operator bool() const
inlinenoexcept

◆ operator ::HCERTSTORE()

crypt::store::operator ::HCERTSTORE() const
inlinenoexcept

Member Data Documentation

◆ handle

::HCERTSTORE crypt::store::handle{}
protected

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