SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.media.transform.srtp
Class SRTCPTransformer

java.lang.Object
  extended by net.java.sip.communicator.impl.media.transform.srtp.SRTCPTransformer
All Implemented Interfaces:
PacketTransformer

public class SRTCPTransformer
extends Object
implements PacketTransformer

SRTCPTransformer implements PacketTransformer. It encapsulate the encryption / decryption logic for SRTCP packets This class is currently not used.

Author:
Bing SU (nova.su@gmail.com)

Constructor Summary
SRTCPTransformer(SRTPTransformEngine engine)
          Constructs a SRTCPTransformer object
 
Method Summary
 RawPacket reverseTransform(RawPacket pkt)
          Decrypt a SRTCP packet Currently SRTCP packet encryption / decryption is not supported So this method does not change the packet content
 RawPacket transform(RawPacket pkt)
          Encrypt a SRTCP packet Currently SRTCP packet encryption / decryption is not supported So this method does not change the packet content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRTCPTransformer

public SRTCPTransformer(SRTPTransformEngine engine)
Constructs a SRTCPTransformer object

Parameters:
engine - The associated SRTPTransformEngine object
Method Detail

transform

public RawPacket transform(RawPacket pkt)
Encrypt a SRTCP packet Currently SRTCP packet encryption / decryption is not supported So this method does not change the packet content

Specified by:
transform in interface PacketTransformer
Parameters:
pkt - plain SRTCP packet to be encrypted
Returns:
encrypted SRTCP packet

reverseTransform

public RawPacket reverseTransform(RawPacket pkt)
Decrypt a SRTCP packet Currently SRTCP packet encryption / decryption is not supported So this method does not change the packet content

Specified by:
reverseTransform in interface PacketTransformer
Parameters:
pkt - encrypted SRTCP packet to be decrypted
Returns:
decrypted SRTCP packet

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.