public class SRTPCipherCTR extends Object
Constructor and Description |
---|
SRTPCipherCTR() |
Modifier and Type | Method and Description |
---|---|
void |
getCipherStream(org.bouncycastle.crypto.BlockCipher aesCipher,
byte[] out,
int length,
byte[] iv)
Computes the cipher stream for AES CM mode.
|
void |
process(org.bouncycastle.crypto.BlockCipher cipher,
ByteBuffer data,
int off,
int len,
byte[] iv) |
public void process(org.bouncycastle.crypto.BlockCipher cipher, ByteBuffer data, int off, int len, byte[] iv)
public void getCipherStream(org.bouncycastle.crypto.BlockCipher aesCipher, byte[] out, int length, byte[] iv)
out
- byte array holding the output cipher streamlength
- length of the cipher stream to produce, in bytesiv
- initialization vector used to generate this cipher streamCopyright © 2016 TeleStax, Inc.. All Rights Reserved.