summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-02-13 09:35:08 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-13 09:35:08 +0100
commit7ac97d7efb1a1e75633ce31fbb03eb43a9b01670 (patch)
tree4284e5eff68c13cc52be1c658d6c2abffee3ece5 /src/network
parent5b14bf342f43bd6cb02ad751db8da851850814bb (diff)
parenta9c88c1f39c41215eb9d7288a1fd02aa865e8a04 (diff)
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Diffstat (limited to 'src/network')
-rw-r--r--src/network/ssl/qsslcertificate.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp
index b4c593fa73..3b7fa4da09 100644
--- a/src/network/ssl/qsslcertificate.cpp
+++ b/src/network/ssl/qsslcertificate.cpp
@@ -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()
*/