Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add documentation for the hostName argument
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+1
−0
python/core/auth/qgsauthcertutils.sip
-
+1
−0
src/core/auth/qgsauthcertutils.h
|
@@ -279,6 +279,7 @@ Get short strings describing an SSL error |
|
|
%Docstring |
|
|
validateCertChain validates the given ``certificateChain`` |
|
|
\param certificateChain list of certificates to be checked, with leaf first and with optional root CA last |
|
|
\param hostName (optional) name of the host to be verified |
|
|
\param addRootCa if true the CA will be added to the trusted CAs for this validation check |
|
|
:return: list of QSslError, if the list is empty then the cert chain is valid |
|
|
:rtype: list of QSslError |
|
|
|
@@ -299,6 +299,7 @@ class CORE_EXPORT QgsAuthCertUtils |
|
|
/** |
|
|
* \brief validateCertChain validates the given \a certificateChain |
|
|
* \param certificateChain list of certificates to be checked, with leaf first and with optional root CA last |
|
|
* \param hostName (optional) name of the host to be verified |
|
|
* \param addRootCa if true the CA will be added to the trusted CAs for this validation check |
|
|
* \return list of QSslError, if the list is empty then the cert chain is valid |
|
|
*/ |
|
|