#include <qsslkey.h>
Public Member Functions | |
QSslKey () | |
QSslKey (const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format=QSsl::Pem, QSsl::KeyType type=QSsl::PrivateKey, const QByteArray &passPhrase=QByteArray()) | |
QSslKey (QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format=QSsl::Pem, QSsl::KeyType type=QSsl::PrivateKey, const QByteArray &passPhrase=QByteArray()) | |
QSslKey (const QSslKey &other) | |
~QSslKey () | |
QSslKey & | operator= (const QSslKey &other) |
bool | isNull () const |
void | clear () |
int | length () const |
QSsl::KeyType | type () const |
QSsl::KeyAlgorithm | algorithm () const |
QByteArray | toPem (const QByteArray &passPhrase=QByteArray()) const |
QByteArray | toDer (const QByteArray &passPhrase=QByteArray()) const |
Qt::HANDLE | handle () const |
bool | operator== (const QSslKey &key) const |
bool | operator!= (const QSslKey &key) const |
Friends | |
class | QSslCertificate |
QSslKey | ( | ) |
QSslKey | ( | const QByteArray & | encoded, |
QSsl::KeyAlgorithm | algorithm, | ||
QSsl::EncodingFormat | format = QSsl::Pem , |
||
QSsl::KeyType | type = QSsl::PrivateKey , |
||
const QByteArray & | passPhrase = QByteArray() |
||
) |
QSslKey | ( | QIODevice * | device, |
QSsl::KeyAlgorithm | algorithm, | ||
QSsl::EncodingFormat | format = QSsl::Pem , |
||
QSsl::KeyType | type = QSsl::PrivateKey , |
||
const QByteArray & | passPhrase = QByteArray() |
||
) |
~QSslKey | ( | ) |
bool isNull | ( | ) | const |
void clear | ( | ) |
QSsl::KeyType type | ( | ) | const |
QSsl::KeyAlgorithm algorithm | ( | ) | const |
QByteArray toPem | ( | const QByteArray & | passPhrase = QByteArray() | ) | const |
QByteArray toDer | ( | const QByteArray & | passPhrase = QByteArray() | ) | const |
Qt::HANDLE handle | ( | ) | const |
bool operator== | ( | const QSslKey & | key | ) | const |
|
inline |
|
friend |