TlsSrpGroupVerifier.cs 642 B

123456789101112131415161718192021
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
  6. {
  7. public interface TlsSrpGroupVerifier
  8. {
  9. /**
  10. * Check whether the given SRP group parameters are acceptable for use.
  11. *
  12. * @param group the {@link SRP6GroupParameters} to check
  13. * @return true if (and only if) the specified group parameters are acceptable
  14. */
  15. bool Accept(Srp6GroupParameters group);
  16. }
  17. }
  18. #pragma warning restore
  19. #endif