1#if !defined(RESIP_WINSECURITY_HXX)
2#define RESIP_WINSECURITY_HXX
4#if defined(HAVE_CONFIG_H)
42 Security(cipherList, defaultPrivateKeyPassPhrase, dHParamsFilename) {}
47 Security(pathToCerts, cipherList, defaultPrivateKeyPassPhrase, dHParamsFilename) {}
static CipherList ExportableSuite
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
static const Data Empty
Constant that represents a zero-length data.
WARNING - This class is only appropriate for client TLS connections, as it only loads root certs.
void getCredentials(MsCertStoreType eType)
void closeCertifStore(HCERTSTORE)
virtual void onRemovePEM(const Data &name, PEMType type) const
void getCerts(MsCertStoreType eType)
WinSecurity(const Data &pathToCerts, const CipherList &cipherList=ExportableSuite, const Data &defaultPrivateKeyPassPhrase=Data::Empty, const Data &dHParamsFilename=Data::Empty)
virtual void onWritePEM(const Data &name, PEMType type, const Data &buffer) const
virtual void onReadPEM(const Data &name, PEMType type, Data &buffer) const
HCERTSTORE openSystemCertStore(const Data &name)
WinSecurity(const CipherList &cipherList=ExportableSuite, const Data &defaultPrivateKeyPassPhrase=Data::Empty, const Data &dHParamsFilename=Data::Empty)
dcm! – add UnusedChecking(_enum) below;