IAeadBlockCipher.cs 551 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes
  5. {
  6. /// <summary>An IAeadCipher based on an IBlockCipher.</summary>
  7. public interface IAeadBlockCipher
  8. : IAeadCipher
  9. {
  10. /// <returns>The block size for this cipher, in bytes.</returns>
  11. int GetBlockSize();
  12. /// <summary>The block cipher underlying this algorithm.</summary>
  13. IBlockCipher GetUnderlyingCipher();
  14. }
  15. }
  16. #pragma warning restore
  17. #endif