Revision control
++ // Copyright (C) 2023 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
++
++ /*!
++ \qmltype sslConfiguration
++ \inqmlmodule QtNetwork
++
++ \brief The sslConfiguration class holds the configuration and state of an
++ SSL connection.
++
++ sslConfiguration is used to relay information
++ about an open SSL connection and to allow the application to control
++ certain features of that connection.
++ The sslConfiguration encapsulates QSslConfiguration object inside.
++ The sslConfiguration defaults are initialized by calling
++ \l QSslConfiguration::defaultConfiguration.
++
++ \sa QSslConfiguration
++ */
++
++ /*!
++ \qmlproperty QList sslConfiguration::sslOptions
++ \deprecated [6.11] Use sslOptionFlags instead. This property will be removed
++ in Qt 7.
++
++ Holds the list of SslOption values, that are activated by configuration.
++
++ //! [usage-warning]
++ \warning This property has known issues and its usage is discouraged.
++ Specifically, it does not allow to disable an SSL option once it was
++ enabled and can get out of sync with the underlying SSL configuration.
++ It is kept only for source and behavior compatibility. Use \l sslOptionFlags
++ property instead.
++ //! [usage-warning]
++
++ \sa QSsl::SslOption, sslOptionFlags
++ */
++
++ /*!
++ \qmlproperty QSsl::SslOptions sslConfiguration::sslOptionFlags
++ \since 6.11
++
++ Holds the bitwise OR of SslOption values that are enabled in the
++ configuration.
++
++ The default value is the same as set by
++ \l QSslConfiguration::defaultConfiguration().
++
++ \sa QSsl::SslOptions
++ */
++
++ /*!
++ \qmlproperty string sslConfiguration::ciphers
++ Holds the cryptographic cipher suite for this configuration to \a ciphers,
++ which is a colon-separated list of cipher suite names.
++
++ \sa QSslConfiguration::ciphers
++ */
++
++ /*!
++ \qmlproperty enumeration sslConfiguration::protocol
++ Holds SslProtocol enumeration value.
++ \sa QSsl::SslProtocol
++ */
++
++ /*!
++ \qmlproperty enumeration sslConfiguration::peerVerifyMode
++ Holds PeerVerifyMode enumeration value.
++
++ \sa QSslSocket::PeerVerifyMode
++ */
++
++ /*!
++ \qmlproperty int sslConfiguration::peerVerifyDepth
++
++ Holds the maximum number of certificates in the peer's certificate chain
++ to be checked during the SSL handshake phase, or 0 (the default) if no
++ maximum depth has been set, indicating that the whole certificate chain
++ should be checked.
++
++ \sa QSslConfiguration::peerVerifyDepth
++ */
++
++ /*!
++ \qmlproperty bytearray sslConfiguration::sessionTicket
++
++ Holds the session ticket used in the SSL handshake in ASN.1
++ format, suitable to e.g. be persisted to disk.
++
++ \sa QSslConfiguration::sessionTicket
++ */
++
++ /*!
++ \qmlmethod void sslConfiguration::setCertificateFiles(const QStringList &certificateFiles);
++
++ This function loads into configuration the list of certificates \a certificateFiles
++ provided by user.
++ */
++
++ /*!
++ \qmlmethod void sslConfiguration::setPrivateKey(const QQmlSslKey &privateKey);
++
++ This function sets into configuration user defined Private key value \a privateKey.
++
++ \sa QSslKey, sslKey
++ */
++
++ /*!
++ \qmltype sslDtlsConfiguration
++ \inqmlmodule QtNetwork
++
++ \brief The sslDtlsConfiguration class holds the Dtls
++ default configuration and state of an SSL connection.
++
++ \sa QSslConfiguration
++ */
++
++ /*!
++ \qmlproperty QList sslDtlsConfiguration::sslOptions
++ \deprecated [6.11] Use sslOptionFlags instead. This property will be removed
++ in Qt 7.
++
++ Holds the list of SslOption values, that are activated by configuration.
++
++ \include qqmlssl.qdoc usage-warning
++
++ \sa QSsl::SslOption, sslOptionFlags
++ */
++
++ /*!
++ \qmlproperty QSsl::SslOptions sslDtlsConfiguration::sslOptionFlags
++ \since 6.11
++
++ Holds the bitwise OR of SslOption values that are enabled in the
++ configuration.
++
++ The default value is the same as set by
++ \l QSslConfiguration::defaultDtlsConfiguration().
++
++ \sa QSsl::SslOptions
++ */
++
++ /*!
++ \qmlproperty string sslDtlsConfiguration::ciphers
++ Holds the cryptographic cipher suite for this configuration to \a ciphers,
++ which is a colon-separated list of cipher suite names.
++
++ \sa QSslConfiguration::ciphers
++ */
++
++ /*!
++ \qmlproperty enumeration sslDtlsConfiguration::protocol
++ Holds SslProtocol enumeration value.
++ \sa QSsl::SslProtocol
++ */
++
++ /*!
++ \qmlproperty enumeration sslDtlsConfiguration::peerVerifyMode
++ Holds PeerVerifyMode enumeration value.
++
++ \sa QSslSocket::PeerVerifyMode
++ */
++
++ /*!
++ \qmlproperty int sslDtlsConfiguration::peerVerifyDepth
++
++ Holds the maximum number of certificates in the peer's certificate chain
++ to be checked during the SSL handshake phase, or 0 (the default) if no
++ maximum depth has been set, indicating that the whole certificate chain
++ should be checked.
++
++ \sa QSslConfiguration::peerVerifyDepth
++ */
++
++ /*!
++ \qmlproperty bytearray sslDtlsConfiguration::sessionTicket
++
++ Holds the session ticket used in the SSL handshake in ASN.1
++ format, suitable to e.g. be persisted to disk.
++
++ \sa QSslConfiguration::sessionTicket
++ */
++
++ /*!
++ \qmlmethod void sslDtlsConfiguration::setCertificateFiles(const QStringList &certificateFiles);
++
++ This function loads into configuration the list of certificates \a certificateFiles
++ provided by user.
++ */
++
++ /*!
++ \qmlmethod void sslDtlsConfiguration::setPrivateKey(const QQmlSslKey &privateKey);
++
++ This function sets into configuration user defined Private key value \a privateKey.
++
++ \sa QSslKey, sslKey
++ */
++
++ /*!
++ \qmltype sslKey
++ \inqmlmodule QtNetwork
++
++ \nativetype QSslKey
++ \brief The sslKey class provides the interface for private and public keys.
++
++ The sslKey provides an API for managing keys.
++ The QML sslKey class is \c Q_GADGET based, it generates QSslKey object
++ based on it's QML properties.
++
++ \sa QSslKey
++ */
++
++ /*!
++ \qmlproperty string sslKey::keyFile
++ Holds the path to the \c *.pem key file.
++ */
++
++ /*!
++ \qmlproperty enumeration sslKey::keyAlgorithm
++ Holds KeyAlgorithm enumeration value.
++
++ \sa QSsl::KeyAlgorithm
++ */
++
++ /*!
++ \qmlproperty enumeration sslKey::keyFormat
++ Holds EncodingFormat enumeration value.
++ \sa QSsl::EncodingFormat
++ */
++
++ /*!
++ \qmlproperty bytearray sslKey::keyPassPhrase
++
++ Holds the value to be used to decrypt QSslKey.
++
++ \sa QSslKey
++ */
++
++ /*!
++ \qmlproperty enumeration sslKey::keyType
++ Holds KeyType enumeration value.
++ \sa QSsl::KeyType
++ */