22 lines
642 B
C#
22 lines
642 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
public interface TlsSrpGroupVerifier
|
|
{
|
|
/**
|
|
* Check whether the given SRP group parameters are acceptable for use.
|
|
*
|
|
* @param group the {@link SRP6GroupParameters} to check
|
|
* @return true if (and only if) the specified group parameters are acceptable
|
|
*/
|
|
bool Accept(Srp6GroupParameters group);
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|