public class SDesTransformEngine extends java.lang.Object implements SrtpControl.TransformEngine
Constructor and Description |
---|
SDesTransformEngine(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute,
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleans up this TransformEngine and prepares it for garbage
collection.
|
PacketTransformer |
getRTCPTransformer()
Gets the PacketTransformer for RTCP packets.
|
PacketTransformer |
getRTPTransformer()
Gets the PacketTransformer for RTP packets.
|
void |
update(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute,
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)
Updates this instance with new key materials.
|
public SDesTransformEngine(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute, ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)
inAttribute
- Key material for the incoming stream.outAttribute
- Key material for the outgoing stream.public void update(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute, ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)
inAttribute
- Key material for the incoming stream.outAttribute
- Key material for the outgoing stream.public void cleanup()
cleanup
in interface SrtpControl.TransformEngine
public PacketTransformer getRTPTransformer()
TransformEngine
getRTPTransformer
in interface TransformEngine
public PacketTransformer getRTCPTransformer()
TransformEngine
getRTCPTransformer
in interface TransformEngine
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.