QSslCertificate::isValid() no longer exists in Qt5