<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.0" />

TlsBlockCipherImpl

public interface TlsBlockCipherImpl
Interface for block cipher services.
using System; namespace Org.BouncyCastle.Tls.Crypto.Impl { public interface TlsBlockCipherImpl { void SetKey(byte[] key, int keyOff, int keyLen); void SetKey(ReadOnlySpan<byte> key); void Init(byte[] iv, int ivOff, int ivLen); void Init(ReadOnlySpan<byte> iv); int DoFinal(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset); int GetBlockSize(); } }