18 #ifndef INCLUDE_RCF_WIN32CERTIFICATE_HPP 19 #define INCLUDE_RCF_WIN32CERTIFICATE_HPP 21 #include <RCF/Certificate.hpp> 46 virtual CertificateImplementationType _getType();
49 tstring getCertificateName();
52 tstring getIssuerName();
55 void exportToPfx(
const std::string & pfxFilePath);
65 PCCERT_CONTEXT getWin32Context();
69 void setHasBeenDeleted()
71 mHasBeenDeleted =
true;
74 tstring getSubjectName();
75 tstring getOrganizationName();
76 tstring getCertAttribute(
const char * whichAttr);
82 PCCERT_CONTEXT mpCert;
96 const std::string & pathToCert,
97 const tstring & password,
98 const tstring & certName);
109 const tstring & password,
110 const tstring & certName);
118 const tstring & password,
119 const tstring & certName);
122 const std::string & pathToCert,
123 const RCF::tstring & password,
124 const RCF::tstring & certName);
126 HCERTSTORE mPfxStore;
140 const tstring & certName);
143 void removeFromStore();
180 HCERTSTORE mhCertStore;
181 PCCERT_CONTEXT mpCertIterator;
187 #endif // ! INCLUDE_RCF_WIN32CERTIFICATE_HPP Win32CertificateStore
Win32 certificate stores.
Definition: Enums.hpp:104
std::shared_ptr< Win32Certificate > Win32CertificatePtr
Reference counted wrapper for RCF::Win32Certificate.
Definition: RcfFwd.hpp:257
Win32CertificateLocation
Win32 certificate store locations.
Definition: Enums.hpp:94
Use this class to load a certificate from .pfx format. Only applicable to Schannel.
Definition: Win32Certificate.hpp:88
Represents a certificate in a Windows certificate store.
Definition: Win32Certificate.hpp:130
Represents an in-memory certificate, either from a remote peer or loaded from a local certificate sto...
Definition: Win32Certificate.hpp:37
Iterates over the certificates in a Windows certificate store.
Definition: Win32Certificate.hpp:154
Definition: ByteBuffer.hpp:39
Definition: AmiIoHandler.hpp:23
Base class for all RCF certificate classes.
Definition: Certificate.hpp:29
RCF_EXPORT bool init(RcfConfigT *=nullptr)
Reference-counted initialization of RCF library. May be called multiple times (see deinit())...