Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add documentation for the hostName argument
  • Loading branch information
elpaso committed Oct 26, 2017
1 parent 006260b commit 0557b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/core/auth/qgsauthcertutils.sip
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/core/auth/qgsauthcertutils.h
Expand Up @@ -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
*/
Expand Down

0 comments on commit 0557b39

Please sign in to comment.