Correct the documentation of the return types of subjectInfo and issuerInfo.
These functions now return a QStringList to reflect the possibility of there being more than one entry of a given type, but the documentation did not reflect this. Task-Number: QTBUG-36304 Change-Id: Iba2eda5e2c3174c8dcea640b5aed9cdc9a432392 Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
This commit is contained in:
parent
8f899cd198
commit
fd00bfc788
@ -341,8 +341,9 @@ static QByteArray _q_SubjectInfoToString(QSslCertificate::SubjectInfo info)
|
||||
\fn QString QSslCertificate::issuerInfo(SubjectInfo subject) const
|
||||
|
||||
Returns the issuer information for the \a subject from the
|
||||
certificate, or an empty string if there is no information for
|
||||
\a subject in the certificate.
|
||||
certificate, or an empty list if there is no information for
|
||||
\a subject in the certificate. There can be more than one entry
|
||||
of each type.
|
||||
|
||||
\sa subjectInfo()
|
||||
*/
|
||||
@ -359,8 +360,8 @@ QStringList QSslCertificate::issuerInfo(SubjectInfo info) const
|
||||
|
||||
/*!
|
||||
Returns the issuer information for \a attribute from the certificate,
|
||||
or an empty string if there is no information for \a attribute in the
|
||||
certificate.
|
||||
or an empty list if there is no information for \a attribute in the
|
||||
certificate. There can be more than one entry for an attribute.
|
||||
|
||||
\sa subjectInfo()
|
||||
*/
|
||||
@ -379,8 +380,9 @@ QStringList QSslCertificate::issuerInfo(const QByteArray &attribute) const
|
||||
|
||||
\fn QString QSslCertificate::subjectInfo(SubjectInfo subject) const
|
||||
|
||||
Returns the information for the \a subject, or an empty string if
|
||||
there is no information for \a subject in the certificate.
|
||||
Returns the information for the \a subject, or an empty list if
|
||||
there is no information for \a subject in the certificate. There
|
||||
can be more than one entry of each type.
|
||||
|
||||
\sa issuerInfo()
|
||||
*/
|
||||
@ -396,8 +398,9 @@ QStringList QSslCertificate::subjectInfo(SubjectInfo info) const
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the subject information for \a attribute, or an empty string if
|
||||
there is no information for \a attribute in the certificate.
|
||||
Returns the subject information for \a attribute, or an empty list if
|
||||
there is no information for \a attribute in the certificate. There
|
||||
can be more than one entry for an attribute.
|
||||
|
||||
\sa issuerInfo()
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user