IVerifierFactory.cs 931 B

12345678910111213141516171819202122232425
  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. /// <summary>
  7. /// Base interface for operators that serve as stream-based signature verifiers.
  8. /// </summary>
  9. public interface IVerifierFactory
  10. {
  11. /// <summary>The algorithm details object for this verifier.</summary>
  12. Object AlgorithmDetails { get ; }
  13. /// <summary>
  14. /// Create a stream calculator for this verifier. The stream
  15. /// calculator is used for the actual operation of entering the data to be verified
  16. /// and producing a result which can be used to verify the original signature.
  17. /// </summary>
  18. /// <returns>A calculator producing an IVerifier which can verify the signature.</returns>
  19. IStreamCalculator CreateCalculator();
  20. }
  21. }
  22. #pragma warning restore
  23. #endif