TlsHmac.cs 569 B

1234567891011121314151617
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
  5. {
  6. /// <summary>Interface for MAC services based on HMAC.</summary>
  7. public interface TlsHmac
  8. : TlsMac
  9. {
  10. /// <summary>Return the internal block size for the message digest underlying this HMAC service.</summary>
  11. /// <returns>the internal block size for the digest (in bytes).</returns>
  12. int InternalBlockSize { get; }
  13. }
  14. }
  15. #pragma warning restore
  16. #endif