Logo Search packages:      
Sourcecode: qca version File versions  Download package

Classes | Public Types | Signals | Public Member Functions | Private Slots | Private Attributes

QCA::TLS Class Reference

Collaboration diagram for QCA::TLS:
Collaboration graph
[legend]

List of all members.

Classes

class  Private

Public Types

enum  Error { ErrHandshake, ErrCrypt }
enum  Validity {
  NoCert, Valid, HostMismatch, Rejected,
  Untrusted, SignatureFailed, InvalidCA, InvalidPurpose,
  SelfSigned, Revoked, PathLengthExceeded, Expired,
  Unknown
}

Signals

void closed ()
void error (int)
void handshaken ()
void readyRead ()
void readyReadOutgoing (int plainBytes)

Public Member Functions

int certificateValidityResult () const
void close ()
bool isHandshaken () const
const CertpeerCertificate () const
QByteArray read ()
QByteArray readOutgoing ()
QByteArray readUnprocessed ()
void reset ()
void setCertificate (const Cert &cert, const RSAKey &key)
void setCertificateStore (const QPtrList< Cert > &store)
bool startClient (const QString &host="")
bool startServer ()
 TLS (QObject *parent=0)
void write (const QByteArray &a)
void writeIncoming (const QByteArray &a)

Private Slots

void update ()

Private Attributes

Privated

Detailed Description

Definition at line 314 of file qca.h.


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

Generated by  Doxygen 1.6.0   Back to index