Skip to content
Permalink
Browse files

Add documentation for the hostName argument

  • Loading branch information
elpaso committed Oct 25, 2017
1 parent 006260b commit 0557b394d8c28d4776074b87171a0583165176fb
Showing with 2 additions and 0 deletions.
  1. +1 −0 python/core/auth/qgsauthcertutils.sip
  2. +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
*/

0 comments on commit 0557b39

Please sign in to comment.
You can’t perform that action at this time.