QXmppJingleRtpCryptoElement Class

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

Header: #include <QXmppJingleRtpCryptoElement>
Since: QXmpp 1.5

Public Functions

QXmppJingleRtpCryptoElement()
QString cryptoSuite() const
QString keyParams() const
QString sessionParams() const
void setCryptoSuite(const QString &cryptoSuite)
void setKeyParams(const QString &keyParams)
void setSessionParams(const QString &sessionParams)
void setTag(uint32_t tag)
uint32_t tag() const

Static Public Members

bool isJingleRtpCryptoElement(const QDomElement &element)

Detailed Description

Member Function Documentation

QXmppJingleRtpCryptoElement::QXmppJingleRtpCryptoElement()

Constructs a Jingle RTP crypto element.

QString QXmppJingleRtpCryptoElement::cryptoSuite() const

Returns the crypto suite used as an identifier for describing the encryption and authentication algorithms.

See also setCryptoSuite().

[static] bool QXmppJingleRtpCryptoElement::isJingleRtpCryptoElement(const QDomElement &element)

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

Returns true if element is an RTP crypto element.

QString QXmppJingleRtpCryptoElement::keyParams() const

Returns the key parameters providing one or more sets of keying material for the crypto suite.

See also setKeyParams().

QString QXmppJingleRtpCryptoElement::sessionParams() const

Returns the session parameters providing transport-specific data.

See also setSessionParams().

void QXmppJingleRtpCryptoElement::setCryptoSuite(const QString &cryptoSuite)

Sets the cryptoSuite used as an identifier for describing the encryption and authentication algorithms.

See also cryptoSuite().

void QXmppJingleRtpCryptoElement::setKeyParams(const QString &keyParams)

Sets the keyParams providing one or more sets of keying material for the crypto suite.

See also keyParams().

void QXmppJingleRtpCryptoElement::setSessionParams(const QString &sessionParams)

Sets the sessionParams providing transport-specific data.

See also sessionParams().

void QXmppJingleRtpCryptoElement::setTag(uint32_t tag)

Sets the tag used as an identifier for the crypto element.

See also tag().

uint32_t QXmppJingleRtpCryptoElement::tag() const

Returns the tag used as an identifier for the crypto element.

See also setTag().