4#ifndef QQMLSSLCONFIGURATION_P_H
5#define QQMLSSLCONFIGURATION_P_H
18#include <qtqmlnetworkexports.h>
21#include <QtCore/QByteArray>
22#include <QtCore/QMetaType>
23#include <QtQml/qqml.h>
24#include <QtNetwork/qsslconfiguration.h>
25#include <QtNetwork/qsslsocket.h>
26#include <QtNetwork/qssl.h>
38 WRITE setPeerVerifyMode)
39 Q_PROPERTY(
int peerVerifyDepth READ peerVerifyDepth WRITE setPeerVerifyDepth)
47 QList<
QSsl::SslOption> sslOptions() const;
48 QSsl::SslProtocol protocol() const;
49 QSslSocket::PeerVerifyMode peerVerifyMode() const;
50 int peerVerifyDepth() const;
56 void setPeerVerifyDepth(
int depth);
57 void setCiphers(const
QString &ciphers);
58 void setSslOptions(const
QList<
QSsl::SslOption> &options);
59 void setSessionTicket(const
QByteArray &sessionTicket);
65 return lval.m_certificateFiles == rval.m_certificateFiles
66 && lval.m_ciphers == rval.m_ciphers
67 && lval.m_sslOptions == rval.m_sslOptions
68 && lval.m_configuration == rval.m_configuration;
74 return !(lval == rval);
friend bool operator!=(const QQmlSslConfiguration &lval, const QQmlSslConfiguration &rval)
QList< QSsl::SslOption > m_sslOptions
QStringList m_certificateFiles
QSslConfiguration m_configuration
The QSslConfiguration class holds the configuration and state of an SSL connection.
The QSslSocket class provides an SSL encrypted socket for both clients and servers.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QSsl namespace declares enums common to all SSL classes in Qt Network.
Combined button and popup list for selecting options.
GLint GLenum GLsizei GLsizei GLsizei depth
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
config setProtocol(QSsl::TlsV1_2)