Skip to content

Commit

Permalink
[auth] Sipify and doxify
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 16, 2017
1 parent b760f08 commit b3fc3a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 5 additions & 2 deletions python/core/auth/qgsauthconfig.sip
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,15 @@ Set private key object

QList<QSslCertificate> caChain() const;
%Docstring
Return CA chain
caChain return the CA chain
:return: list of CA certificates
:rtype: list of QSslCertificate
%End

void setCaChain( const QList<QSslCertificate> &caChain );
%Docstring
Set CA chain
setCaChain set the CA chain
\param caChain
%End

};
Expand Down
11 changes: 9 additions & 2 deletions src/core/auth/qgsauthconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,16 @@ class CORE_EXPORT QgsPkiConfigBundle
//! Set private key object
void setClientCertKey( const QSslKey &certkey ) { mCertKey = certkey; }

//! Return CA chain
/**
* \brief caChain return the CA chain
* \return list of CA certificates
*/
QList<QSslCertificate> caChain() const { return mCaChain; }
//! Set CA chain

/**
* \brief setCaChain set the CA chain
* \param caChain
*/
void setCaChain( const QList<QSslCertificate> &caChain ) { mCaChain = caChain; }

private:
Expand Down

0 comments on commit b3fc3a4

Please sign in to comment.