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

net.java.sip.communicator.impl.media.transform.srtp
Interface SRTPCipher


public interface SRTPCipher

SRTPCipher interface describes the abstract requirement for SRTP encryption algorithm. Given a byte stream and an initial vector (iv) process the byte stream in place (either encrypt or decrypt)

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

Method Summary
 void process(byte[] data, int offset, int length, byte[] iv)
          Process (encrypt / decrypt) a byte stream, using the supplied initial vector.
 

Method Detail

process

void process(byte[] data,
             int offset,
             int length,
             byte[] iv)
Process (encrypt / decrypt) a byte stream, using the supplied initial vector.

Parameters:
data - byte array containing the byte stream to be processed
offset - byte stream star offset with data byte array
length - byte stream length in bytes
iv - initial vector for this operation

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

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