#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
{
/// Basic interface for an SRP-6 server implementation.
public interface TlsSrp6Server
{
/// Generates the server's credentials that are to be sent to the client.
/// The server's public value to the client
BigInteger GenerateServerCredentials();
/// Processes the client's credentials. If valid the shared secret is generated and returned.
///
/// The client's credentials.
/// A shared secret .
/// If client's credentials are invalid.
BigInteger CalculateSecret(BigInteger clientA);
}
}
#pragma warning restore
#endif