TlsSuiteMac
Base interface for a generic TLS MAC implementation for use with a bulk cipher.
namespace Org.BouncyCastle.Tls.Crypto.Impl
{
public interface TlsSuiteMac
{
int Size { get; }
byte[] CalculateMac(long seqNo, short type, byte[] message, int offset, int length);
byte[] CalculateMacConstantTime(long seqNo, short type, byte[] message, int offset, int length, int expectedLength, byte[] randomData);
}
}