QSslKey Class Reference

QSslKey Class Reference

#include <qsslkey.h>

Class Description

Definition at line 64 of file 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 ()
 
QSslKeyoperator= (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
 

Constructor & Destructor Documentation

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

Member Function Documentation

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
inline

Definition at line 93 of file qsslkey.h.

93 { return !operator==(key); }
bool operator==(const QSslKey &key) const

Friends And Related Function Documentation

friend class QSslCertificate
friend

Definition at line 97 of file qsslkey.h.


The documentation for this class was generated from the following file: