summaryrefslogtreecommitdiffstats
path: root/src/webengine/api
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2018-12-13 16:54:35 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2018-12-14 13:44:38 +0000
commitc468dc5163bebf064c5593e5887a0bfd35eae32b (patch)
tree85f3b61c37a17285802583a1e9bf85156a7fd49a /src/webengine/api
parent8124f0bc1893e0997989913044665fa1c5cf79d7 (diff)
Doc: Add docs for useForGlobalCertificateVerification
Move information from the getter and setter docs here, and remove them. Change-Id: Idb68a4e691cd46faebec9f55bf17bbf1591f4766 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/webengine/api')
-rw-r--r--src/webengine/api/qquickwebengineprofile.cpp53
1 files changed, 27 insertions, 26 deletions
diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp
index 508106583..237334b67 100644
--- a/src/webengine/api/qquickwebengineprofile.cpp
+++ b/src/webengine/api/qquickwebengineprofile.cpp
@@ -793,36 +793,45 @@ bool QQuickWebEngineProfile::isSpellCheckEnabled() const
}
/*!
- \qmlproperty bool WebEngineProfile::useForGlobalCertificateVerification
- \since QtWebEngine 1.9
+ \property QQuickWebEngineProfile::useForGlobalCertificateVerification
+ \since 5.13
- This property controls if this profile is used for global certificate verification.
- Only one profile may have that role at any time.
+ This property holds whether this profile is used for downloading and
+ caching during global certificate verification when using the online
+ certificate status protocol (OCSP), certificate revokation lists (CRLs),
+ and authority information access (AIA), for example.
- Current only offect Linux/NSS installation where having a profile with this role
- enables OCSP.
+ As long as one profile has this option enabled, all other profiles will be
+ able to use it for certificate verification. Only one profile at a time can
+ have this option enabled. It is recommended that the profile has a disk HTTP
+ cache to avoid needlessly re-downloading.
- By default no profile has this enabled.
+ By default, no profile has this property enabled.
- \sa QQuickWebEngineProfile::setUseForGlobalCertificateVerification()
+ Currently, only affects Linux/NSS installations, where having a profile with
+ this role enables OCSP.
*/
/*!
- \since 5.13
-
- If enabled set this profile to be used for downloading and caching when needed
- during certificate verification, for instance for OCSP, CRLs, and AIA.
-
- Only one profile can do this at a time, and it is recommended that the profile
- fullfilling this role has a disk HTTP cache to avoid needlessly re-downloading.
+ \qmlproperty bool WebEngineProfile::useForGlobalCertificateVerification
+ \since QtWebEngine 1.9
- Currently only affects Linux/NSS installations where it enables OCSP.
+ This property holds whether this profile is used for downloading and
+ caching during global certificate verification when using the online
+ certificate status protocol (OCSP), certificate revokation lists (CRLs),
+ and authority information access (AIA), for example.
As long as one profile has this option enabled, all other profiles will be
- able to use it for their certificate verification.
+ able to use it for certificate verification. Only one profile at a time can
+ have this option enabled. It is recommended that the profile has a disk HTTP
+ cache to avoid needlessly re-downloading.
+
+ By default, no profile has this property enabled.
- \sa isUsedForGlobalCertificateVerification()
+ Currently, only affects Linux/NSS installations, where having a profile with
+ this role enables OCSP.
*/
+
void QQuickWebEngineProfile::setUseForGlobalCertificateVerification(bool enable)
{
Q_D(QQuickWebEngineProfile);
@@ -832,14 +841,6 @@ void QQuickWebEngineProfile::setUseForGlobalCertificateVerification(bool enable)
}
}
-/*!
- \since 5.13
-
- Returns \c true if this profile is currently being used for global
- certificate verification.
-
- \sa setUseForGlobalCertificateVerification()
-*/
bool QQuickWebEngineProfile::isUsedForGlobalCertificateVerification() const
{
const Q_D(QQuickWebEngineProfile);