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