|
QXmpp Version: 1.15.1
|
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< QXmppJingleRtpCryptoElement > | cryptoElements () const |
| void | setCryptoElements (const QVector< QXmppJingleRtpCryptoElement > &cryptoElements) |
Static Public Member Functions | |
| static bool | isJingleRtpEncryption (const QDomElement &element) |
The QXmppJingleRtpEncryption class represents the XEP-0167: Jingle RTP Sessions "encryption" element used for SRTP negotiation.
| QXmppJingleRtpEncryption::QXmppJingleRtpEncryption | ( | ) |
Constructs a Jingle RTP encryption.
| QVector< QXmppJingleRtpCryptoElement > QXmppJingleRtpEncryption::cryptoElements | ( | ) | const |
Returns the crypto elements used for encryption via SRTP.
|
static |
Determines whether the given DOM element is an RTP encryption element.
| element | DOM element being checked |
| bool QXmppJingleRtpEncryption::isRequired | ( | ) | const |
Returns whether encryption via SRTP is required.
| void QXmppJingleRtpEncryption::setCryptoElements | ( | const QVector< QXmppJingleRtpCryptoElement > & | cryptoElements | ) |
Sets the crypto elements used for encryption via SRTP.
| cryptoElements | the crypto elements |
| void QXmppJingleRtpEncryption::setRequired | ( | bool | isRequired | ) |
Sets whether encryption via SRTP is required.
| isRequired | whether encryption is required |