Table of Contents

Interface TlsSrp6Client

Namespace
Org.BouncyCastle.Tls.Crypto
Assembly
BouncyCastle.Cryptography.dll

Basic interface for an SRP-6 client implementation.

public interface TlsSrp6Client

Methods

CalculateSecret(BigInteger)

Generates the secret S given the server's credentials

BigInteger CalculateSecret(BigInteger serverB)

Parameters

serverB BigInteger

The server's credentials

Returns

BigInteger

Client's verification message for the server

Exceptions

IOException

If server's credentials are invalid

GenerateClientCredentials(byte[], byte[], byte[])

Generates client's credentials given the client's salt, identity and password

BigInteger GenerateClientCredentials(byte[] salt, byte[] identity, byte[] password)

Parameters

salt byte[]

The salt used in the client's verifier.

identity byte[]

The user's identity (eg. username)

password byte[]

The user's password

Returns

BigInteger

Client's public value to send to server