IVerifierFactoryProvider.cs 719 B

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