QXmpp Version: 1.12.0
Loading...
Searching...
No Matches
QXmppStartTlsPacket Class Reference

The QXmppStartTlsPacket represents packets used for initiating STARTTLS negotiation when connecting. More...

#include <QXmppStartTlsPacket.h>

Inheritance diagram for QXmppStartTlsPacket:
QXmppNonza

Public Types

enum  Type { StartTls , Proceed , Failure , Invalid }
 The type of the STARTTLS packet. More...

Public Member Functions

 QXmppStartTlsPacket (Type type=StartTls)
Type type () const
void setType (Type type)
Public Member Functions inherited from QXmppNonza
virtual bool isXmppStanza () const
virtual void parse (const QDomElement &)=0
virtual void toXml (QXmlStreamWriter *writer) const =0

Static Public Member Functions

static bool isStartTlsPacket (const QDomElement &element)
static bool isStartTlsPacket (const QDomElement &element, Type type)

Detailed Description

The QXmppStartTlsPacket represents packets used for initiating STARTTLS negotiation when connecting.

Deprecated
STARTTLS packets will be removed from the public API.

Member Enumeration Documentation

◆ Type

The type of the STARTTLS packet.

Enumerator
StartTls 

Used by the client to initiate STARTTLS.

Proceed 

Used by the server to accept STARTTLS.

Failure 

Used by the server to reject STARTTLS.

Invalid 

Invalid type.


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