#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 client implementation. public interface TlsSrp6Client { /// Generates the secret S given the server's credentials /// The server's credentials /// Client's verification message for the server /// If server's credentials are invalid BigInteger CalculateSecret(BigInteger serverB); /// Generates client's credentials given the client's salt, identity and password /// The salt used in the client's verifier. /// The user's identity (eg. username) /// The user's password /// Client's public value to send to server BigInteger GenerateClientCredentials(byte[] salt, byte[] identity, byte[] password); } } #pragma warning restore #endif