using System; using System.IO; using Org.BouncyCastle.Math; namespace 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); } }