Remote Call Framework 3.4
RCF::PfxCertificate Class Reference

Use this class to load a certificate from .pfx format. Only applicable to Schannel. More...

#include <Win32Certificate.hpp>

Inheritance diagram for RCF::PfxCertificate:
RCF::Win32Certificate RCF::Certificate

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)
 

Detailed Description

Use this class to load a certificate from .pfx format. Only applicable to Schannel.

Constructor & Destructor Documentation

◆ PfxCertificate()

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.

Member Function Documentation

◆ addToStore()

void RCF::PfxCertificate::addToStore ( Win32CertificateLocation  certStoreLocation,
Win32CertificateStore  certStore 
)

Adds the certificate to the given Windows certificate store.


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