IVerifierFactoryProvider.cs 792 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. /// <summary>
  7. /// Base interface for a provider to support the dynamic creation of signature verifiers.
  8. /// </summary>
  9. public interface IVerifierFactoryProvider
  10. {
  11. /// <summary>
  12. /// Return a signature verfier for signature algorithm described in the passed in algorithm details object.
  13. /// </summary>
  14. /// <param name="algorithmDetails">The details of the signature algorithm verification is required for.</param>
  15. /// <returns>A new signature verifier.</returns>
  16. IVerifierFactory CreateVerifierFactory (Object algorithmDetails);
  17. }
  18. }
  19. #pragma warning restore
  20. #endif