Add documentation for the hostName argument

This commit is contained in:
Alessandro Pasotti 2017-10-25 13:15:39 +02:00
parent 006260b95d
commit 0557b394d8
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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
*/