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

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

    XMLWordPrintable

Details

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

    Description

      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().

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes