77QSslCipher::QSslCipher(
const QString &name, QSsl::SslProtocol protocol)
78 : d(
new QSslCipherPrivate)
80 const auto ciphers = QSslConfiguration::supportedCiphers();
81 for (
const QSslCipher &cipher : ciphers) {
82 if (cipher.name() == name && cipher.protocol() == protocol) {
223QDebug operator<<(QDebug debug,
const QSslCipher &cipher)
225 QDebugStateSaver saver(debug);
226 debug.resetFormat().nospace().noquote();
227 debug <<
"QSslCipher(name=" << cipher.name()
228 <<
", bits=" << cipher.usedBits()
229 <<
", proto=" << cipher.protocolString()