Represents an in-memory certificate, either from a remote peer or loaded from a local certificate store. Only applicable to Schannel. More...
#include <Win32Certificate.hpp>
Public Member Functions | |
tstring | getCertificateName () |
Gets the name of the certificate. More... | |
tstring | getIssuerName () |
Gets the name of the issuer of the certificate. More... | |
void | exportToPfx (const std::string &pfxFilePath) |
Exports the certificate in PFX format, to the given file path. More... | |
Win32CertificatePtr | findRootCertificate (Win32CertificateLocation certStoreLocation, Win32CertificateStore certStore) |
Represents an in-memory certificate, either from a remote peer or loaded from a local certificate store. Only applicable to Schannel.
tstring RCF::Win32Certificate::getCertificateName | ( | ) |
Gets the name of the certificate.
tstring RCF::Win32Certificate::getIssuerName | ( | ) |
Gets the name of the issuer of the certificate.
void RCF::Win32Certificate::exportToPfx | ( | const std::string & | pfxFilePath | ) |
Exports the certificate in PFX format, to the given file path.
Win32CertificatePtr RCF::Win32Certificate::findRootCertificate | ( | Win32CertificateLocation | certStoreLocation, |
Win32CertificateStore | certStore | ||
) |
Attempts to locate a root certificate for this certificate, in the given certificate store. Returns the root certificate if found, and otherwise null.