Class SDesTransformEngine
- java.lang.Object
-
- org.jitsi.impl.neomedia.transform.sdes.SDesTransformEngine
-
- All Implemented Interfaces:
TransformEngine,SrtpControl.TransformEngine
public class SDesTransformEngine extends Object implements SrtpControl.TransformEngine
TransformEngine for SDES based SRTP encryption.- Author:
- Ingo Bauersachs
-
-
Constructor Summary
Constructors Constructor Description SDesTransformEngine(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute, ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)Creates a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Cleans up this TransformEngine and prepares it for garbage collection.PacketTransformergetRTCPTransformer()Gets the PacketTransformer for RTCP packets.PacketTransformergetRTPTransformer()Gets the PacketTransformer for RTP packets.voidupdate(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute, ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)Updates this instance with new key materials.
-
-
-
Constructor Detail
-
SDesTransformEngine
public SDesTransformEngine(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute, ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)Creates a new instance of this class.- Parameters:
inAttribute- Key material for the incoming stream.outAttribute- Key material for the outgoing stream.
-
-
Method Detail
-
update
public void update(ch.imvs.sdes4j.srtp.SrtpCryptoAttribute inAttribute, ch.imvs.sdes4j.srtp.SrtpCryptoAttribute outAttribute)Updates this instance with new key materials.- Parameters:
inAttribute- Key material for the incoming stream.outAttribute- Key material for the outgoing stream.
-
cleanup
public void cleanup()
Cleans up this TransformEngine and prepares it for garbage collection.- Specified by:
cleanupin interfaceSrtpControl.TransformEngine
-
getRTPTransformer
public PacketTransformer getRTPTransformer()
Description copied from interface:TransformEngineGets the PacketTransformer for RTP packets.- Specified by:
getRTPTransformerin interfaceTransformEngine- Returns:
- the PacketTransformer for RTP packets
-
getRTCPTransformer
public PacketTransformer getRTCPTransformer()
Description copied from interface:TransformEngineGets the PacketTransformer for RTCP packets.- Specified by:
getRTCPTransformerin interfaceTransformEngine- Returns:
- the PacketTransformer for RTCP packets
-
-