QXmppJingleRtpEncryption Class
The QXmppJingleRtpEncryption class represents the XEP-0167: Jingle RTP Sessions "encryption" element used for SRTP negotiation. More...
| Header: | #include <QXmppJingleData.h> |
| Since: | QXmpp 1.5 |
Public Functions
| QXmppJingleRtpEncryption() | |
| QList<QXmppJingleRtpCryptoElement> | cryptoElements() const |
| bool | isRequired() const |
| void | setCryptoElements(const QList<QXmppJingleRtpCryptoElement> &cryptoElements) |
| void | setRequired(bool isRequired) |
Static Public Members
| bool | isJingleRtpEncryption(const QDomElement &element) |
Detailed Description
Member Function Documentation
QXmppJingleRtpEncryption::QXmppJingleRtpEncryption()
Constructs a Jingle RTP encryption.
QList<QXmppJingleRtpCryptoElement> QXmppJingleRtpEncryption::cryptoElements() const
Returns the crypto elements used for encryption via SRTP.
See also setCryptoElements().
[static] bool QXmppJingleRtpEncryption::isJingleRtpEncryption(const QDomElement &element)
Determines whether the given DOM element is an RTP encryption element.
Returns true if element is an RTP encryption element.
bool QXmppJingleRtpEncryption::isRequired() const
Returns whether encryption via SRTP is required.
void QXmppJingleRtpEncryption::setCryptoElements(const QList<QXmppJingleRtpCryptoElement> &cryptoElements)
Sets the cryptoElements used for encryption via SRTP.
See also cryptoElements().
void QXmppJingleRtpEncryption::setRequired(bool isRequired)
Sets via isRequired whether encryption via SRTP is required.
See also isRequired().