Qt 4.8
Functions
qsslkey.cpp File Reference
#include "qsslsocket_openssl_symbols_p.h"
#include "qsslkey.h"
#include "qsslkey_p.h"
#include "qsslsocket.h"
#include "qsslsocket_p.h"
#include <QtCore/qatomic.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qiodevice.h>
#include <QtCore/qdebug.h>

Go to the source code of this file.

Functions

QDebug operator<< (QDebug debug, const QSslKey &key)
 

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  debug,
const QSslKey key 
)

Definition at line 464 of file qsslkey.cpp.

465 {
466  debug << "QSslKey("
467  << (key.type() == QSsl::PublicKey ? "PublicKey" : "PrivateKey")
468  << ", " << (key.algorithm() == QSsl::Rsa ? "RSA" : "DSA")
469  << ", " << key.length()
470  << ')';
471  return debug;
472 }
QSsl::KeyAlgorithm algorithm() const
Returns the key algorithm.
Definition: qsslkey.cpp:347
Definition: qssl.h:67
int length() const
Returns the length of the key in bits, or -1 if the key is null.
Definition: qsslkey.cpp:328
QSsl::KeyType type() const
Returns the type of the key (i.e., PublicKey or PrivateKey).
Definition: qsslkey.cpp:339