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();
}
}