Represents a certificate in a Windows certificate store. More...
#include <Win32Certificate.hpp>
Public Member Functions | |
StoreCertificate (Win32CertificateLocation certStoreLocation, Win32CertificateStore certStore, const tstring &certName) | |
Loads a certificate from a certificate store. | |
void | removeFromStore () |
Removes the certificate from the store it was loaded from. | |
![]() | |
tstring | getCertificateName () |
Gets the name of the certificate. | |
tstring | getIssuerName () |
Gets the name of the issuer of the certificate. | |
void | exportToPfx (const std::string &pfxFilePath) |
Exports the certificate in PFX format, to the given file path. | |
Win32CertificatePtr | findRootCertificate (Win32CertificateLocation certStoreLocation, Win32CertificateStore certStore) |
Represents a certificate in a Windows certificate store.