Use this class to load a certificate from .pfx format. Only applicable to Schannel. More...
#include <Win32Certificate.hpp>
Public Member Functions | |
PfxCertificate (const std::string &pathToCert, const tstring &password, const tstring &certName) | |
Loads a certificate from a .pfx file, using the given file path, password and certificate name. More... | |
void | addToStore (Win32CertificateLocation certStoreLocation, Win32CertificateStore certStore) |
Adds the certificate to the given Windows certificate store. More... | |
Public Member Functions inherited from RCF::Win32Certificate | |
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) |
Use this class to load a certificate from .pfx format. Only applicable to Schannel.
RCF::PfxCertificate::PfxCertificate | ( | const std::string & | pathToCert, |
const tstring & | password, | ||
const tstring & | certName | ||
) |
Loads a certificate from a .pfx file, using the given file path, password and certificate name.
void RCF::PfxCertificate::addToStore | ( | Win32CertificateLocation | certStoreLocation, |
Win32CertificateStore | certStore | ||
) |
Adds the certificate to the given Windows certificate store.