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

net.java.sip.communicator.impl.media.transform.zrtp
Class ZRTPCTransformer

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

public class ZRTPCTransformer
extends Object
implements PacketTransformer

Author:
Werner Dittmann

Constructor Summary
ZRTPCTransformer(ZRTPTransformEngine 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

ZRTPCTransformer

public ZRTPCTransformer(ZRTPTransformEngine engine)
Constructs a SRTCPTransformer object

Parameters:
engine - The associated ZRTPTransformEngine 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.