ISignatureFactory.cs 829 B

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