QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QXmppJingleRtpEncryption Class Reference

The QXmppJingleRtpEncryption class represents the XEP-0167: Jingle RTP Sessions "encryption" element used for SRTP negotiation. More...

Public Member Functions

 QXmppJingleRtpEncryption ()
 
bool isRequired () const
 
void setRequired (bool isRequired)
 
QVector< QXmppJingleRtpCryptoElementcryptoElements () const
 
void setCryptoElements (const QVector< QXmppJingleRtpCryptoElement > &cryptoElements)
 

Static Public Member Functions

static bool isJingleRtpEncryption (const QDomElement &element)
 

Detailed Description

The QXmppJingleRtpEncryption class represents the XEP-0167: Jingle RTP Sessions "encryption" element used for SRTP negotiation.

Since
QXmpp 1.5

Constructor & Destructor Documentation

◆ QXmppJingleRtpEncryption()

QXmppJingleRtpEncryption::QXmppJingleRtpEncryption ( )

Constructs a Jingle RTP encryption.

Member Function Documentation

◆ cryptoElements()

QVector< QXmppJingleRtpCryptoElement > QXmppJingleRtpEncryption::cryptoElements ( ) const

Returns the crypto elements used for encryption via SRTP.

Returns
the crypto elements

◆ isJingleRtpEncryption()

bool QXmppJingleRtpEncryption::isJingleRtpEncryption ( const QDomElement &  element)
static

Determines whether the given DOM element is an RTP encryption element.

Parameters
elementDOM element being checked
Returns
whether element is an RTP encryption element

◆ isRequired()

bool QXmppJingleRtpEncryption::isRequired ( ) const

Returns whether encryption via SRTP is required.

Returns
whether encryption is required

◆ setCryptoElements()

void QXmppJingleRtpEncryption::setCryptoElements ( const QVector< QXmppJingleRtpCryptoElement > &  cryptoElements)

Sets the crypto elements used for encryption via SRTP.

Parameters
cryptoElementsthe crypto elements

◆ setRequired()

void QXmppJingleRtpEncryption::setRequired ( bool  isRequired)

Sets whether encryption via SRTP is required.

Parameters
isRequiredwhether encryption is required

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