thewar_client/Client/Assets/Best HTTP/Source/SecureProtocol/crypto/modes/IBlockCipherMode.cs

24 lines
732 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes
{
public interface IBlockCipherMode
: IBlockCipher
{
/// <summary>Return the <code cref="IBlockCipher"/> underlying this cipher mode.</summary>
IBlockCipher UnderlyingCipher { get; }
/// <summary>Indicates whether this cipher mode can handle partial blocks.</summary>
bool IsPartialBlockOkay { get; }
/// <summary>
/// Reset the cipher mode to the same state as it was after the last init (if there was one).
/// </summary>
void Reset();
}
}
#pragma warning restore
#endif