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. |
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 processedoffset - byte stream star offset with data byte arraylength - byte stream length in bytesiv - initial vector for this operation
SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.