Class SrtpCipherF8
Inheritance
System.Object
SrtpCipherF8
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class SrtpCipherF8
Methods
| Improve this Doc View SourceDeriveForIV(IBlockCipher, Byte[], Byte[])
Declaration
public static void DeriveForIV(IBlockCipher f8Cipher, byte[] key, byte[] salt)
Parameters
Type | Name | Description |
---|---|---|
Org.BouncyCastle.Crypto.IBlockCipher | f8Cipher | |
System.Byte[] | key | |
System.Byte[] | salt |
Process(IBlockCipher, MemoryStream, Int32, Int32, Byte[], IBlockCipher)
Declaration
public static void Process(IBlockCipher cipher, MemoryStream data, int off, int len, byte[] iv, IBlockCipher f8Cipher)
Parameters
Type | Name | Description |
---|---|---|
Org.BouncyCastle.Crypto.IBlockCipher | cipher | |
System.IO.MemoryStream | data | |
System.Int32 | off | |
System.Int32 | len | |
System.Byte[] | iv | |
Org.BouncyCastle.Crypto.IBlockCipher | f8Cipher |
ProcessBlock(IBlockCipher, SrtpCipherF8.F8Context, MemoryStream, Int32, MemoryStream, Int32, Int32)
Declaration
public static void ProcessBlock(IBlockCipher cipher, SrtpCipherF8.F8Context f8ctx, MemoryStream _in, int inOff, MemoryStream _out, int outOff, int len)
Parameters
Type | Name | Description |
---|---|---|
Org.BouncyCastle.Crypto.IBlockCipher | cipher | |
SrtpCipherF8.F8Context | f8ctx | |
System.IO.MemoryStream | _in | |
System.Int32 | inOff | |
System.IO.MemoryStream | _out | |
System.Int32 | outOff | |
System.Int32 | len |