Files
ichni_Official/Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/tls/TlsSrpConfigVerifier.cs
2026-06-15 18:18:16 +08:00

20 lines
720 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto;
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls
{
/// <summary>Interface for verifying SRP config needs to conform to.</summary>
public interface TlsSrpConfigVerifier
{
/// <summary>Check whether the given SRP configuration is acceptable for use.</summary>
/// <param name="srpConfig">the <see cref="TlsSrpConfig"/> to check.</param>
/// <returns>true if (and only if) the specified configuration is acceptable.</returns>
bool Accept(TlsSrpConfig srpConfig);
}
}
#pragma warning restore
#endif