summary refs log tree commit diff
path: root/crypto/src/crypto/modes/IAeadBlockCipher.cs
blob: a4dc0857c825f41afa4e58aa4600e30d4709ca51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;

namespace Org.BouncyCastle.Crypto.Modes
{
	/// <summary>An IAeadCipher based on an IBlockCipher.</summary>
	public interface IAeadBlockCipher
        : IAeadCipher
	{
        /// <returns>The block size for this cipher, in bytes.</returns>
        int GetBlockSize();

        /// <summary>The block cipher underlying this algorithm.</summary>
		IBlockCipher UnderlyingCipher { get; }
	}
}