IMacFactory.cs 773 B

12345678910111213141516171819202122
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
  5. {
  6. public interface IMacFactory
  7. {
  8. /// <summary>The algorithm details object for this calculator.</summary>
  9. object AlgorithmDetails { get; }
  10. /// <summary>
  11. /// Create a stream calculator for this signature calculator. The stream
  12. /// calculator is used for the actual operation of entering the data to be signed
  13. /// and producing the signature block.
  14. /// </summary>
  15. /// <returns>A calculator producing an IBlockResult with a signature in it.</returns>
  16. IStreamCalculator CreateCalculator();
  17. }
  18. }
  19. #pragma warning restore
  20. #endif