Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36304

QSslCertificate: subjectInfo() and issuerInfo() documentation does not reflect new return type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.0
    • 5.2.0
    • Documentation, Network: SSL
    • None
    • Iba2eda5e2c3174c8dcea640b5aed9cdc9a432392

      With Qt5, the return type of the subjectInfo() and issuerInfo() methods of QSslCertificate where changed from QString to QStringList. The documentation for subjectInfo(SubjectInfo) states:

      Returns the information for the subject, or an empty string if there is no information for subject in the certificate.

      This (a) talks about returning an empty string if there is no information, and (b) does not explain what values the returned QStringList contains or in what cases it contains multiple values.

      The same applies to issuerInfo().

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            mschmitzer Marc Schmitzer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes