IVerifierFactory.cs 927 B

1234567891011121314151617181920212223
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. namespace Best.HTTP.SecureProtocol.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<IVerifier> CreateCalculator();
  19. }
  20. }
  21. #pragma warning restore
  22. #endif