Interface TlsSrp6Server
- Namespace
- Org.BouncyCastle.Tls.Crypto
- Assembly
- BouncyCastle.Cryptography.dll
Basic interface for an SRP-6 server implementation.
public interface TlsSrp6Server
Methods
CalculateSecret(BigInteger)
Processes the client's credentials. If valid the shared secret is generated and returned.
BigInteger CalculateSecret(BigInteger clientA)
Parameters
clientABigIntegerThe client's credentials.
Returns
- BigInteger
A shared secret BigInteger.
Exceptions
- IOException
If client's credentials are invalid.
GenerateServerCredentials()
Generates the server's credentials that are to be sent to the client.
BigInteger GenerateServerCredentials()
Returns
- BigInteger
The server's public value to the client