6#include <QtNetwork/QSslSocket>
9#include <istd/IPolymorphic.h>
88 QSsl::KeyAlgorithm algorithm,
89 QSsl::EncodingFormat format = QSsl::Pem,
90 const QByteArray& passPhrase = {})
const = 0;
Interface for applying SSL-related settings to an SSL configuration.
virtual bool LoadPrivateKeyFromFile(const QString &path, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format=QSsl::Pem, const QByteArray &passPhrase={}) const =0
Loads a private key from the specified file and applies it to the underlying SSL configuration.
virtual bool SetPeerVerifyMode(QSslSocket::PeerVerifyMode mode) const =0
Sets the peer verification mode for the underlying SSL configuration.
virtual bool LoadCaCertificatesFromFile(const QString &path, QSsl::EncodingFormat format=QSsl::Pem) const =0
Loads one or more Certificate Authority (CA) certificates from the specified file and applies them to...
virtual bool SetSslProtocol(QSsl::SslProtocol protocol) const =0
Sets the SSL/TLS protocol version for the underlying SSL configuration.
virtual bool LoadLocalCertificateFromFile(const QString &path, QSsl::EncodingFormat format=QSsl::Pem) const =0
Loads a local SSL certificate from the specified file and applies it to the underlying SSL configurat...
Server Communication and Connection Management Module.