1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
|
// 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 calls defaultSslCongiguration in ctor.
\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::defaultSslConfiguration().
\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
*/
|