19 #ifndef INCLUDE_RCF_WIN32CERTIFICATE_HPP 20 #define INCLUDE_RCF_WIN32CERTIFICATE_HPP 22 #include <RCF/Certificate.hpp> 47 virtual CertificateImplementationType _getType();
50 tstring getCertificateName();
53 tstring getIssuerName();
56 void exportToPfx(
const std::string & pfxFilePath);
66 PCCERT_CONTEXT getWin32Context();
70 void setHasBeenDeleted()
72 mHasBeenDeleted =
true;
75 tstring getSubjectName();
76 tstring getOrganizationName();
77 tstring getCertAttribute(
const char * whichAttr);
83 PCCERT_CONTEXT mpCert;
97 const std::string & pathToCert,
98 const tstring & password,
99 const tstring & certName);
110 const tstring & password,
111 const tstring & certName);
119 const tstring & password,
120 const tstring & certName);
123 const std::string & pathToCert,
124 const RCF::tstring & password,
125 const RCF::tstring & certName);
127 HCERTSTORE mPfxStore;
141 const tstring & certName);
144 void removeFromStore();
181 HCERTSTORE mhCertStore;
182 PCCERT_CONTEXT mpCertIterator;
188 #endif // ! INCLUDE_RCF_WIN32CERTIFICATE_HPP Win32CertificateStore
Win32 certificate stores.
Definition: Enums.hpp:105
std::shared_ptr< Win32Certificate > Win32CertificatePtr
Reference counted wrapper for RCF::Win32Certificate.
Definition: RcfFwd.hpp:257
Win32CertificateLocation
Win32 certificate store locations.
Definition: Enums.hpp:95
Use this class to load a certificate from .pfx format. Only applicable to Schannel.
Definition: Win32Certificate.hpp:89
Represents a certificate in a Windows certificate store.
Definition: Win32Certificate.hpp:131
Represents an in-memory certificate, either from a remote peer or loaded from a local certificate sto...
Definition: Win32Certificate.hpp:38
Iterates over the certificates in a Windows certificate store.
Definition: Win32Certificate.hpp:155
Definition: ByteBuffer.hpp:40
Definition: AmiIoHandler.hpp:24
Base class for all RCF certificate classes.
Definition: Certificate.hpp:30
RCF_EXPORT bool init(RcfConfigT *=nullptr)
Reference-counted initialization of RCF library. May be called multiple times (see deinit())...