RCFProto
 All Classes Functions Typedefs
Public Member Functions | List of all members
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::Win32Certificate RCF::Certificate RCF::Certificate RCF::Certificate 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.
 
void addToStore (Win32CertificateLocation certStoreLocation, Win32CertificateStore certStore)
 Adds the certificate to the given Windows certificate store.
 
- Public Member Functions inherited from RCF::Win32Certificate
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)
 

Detailed Description

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


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