You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
710 B
17 lines
710 B
using System;
|
|
|
|
using Org.BouncyCastle.Math;
|
|
|
|
namespace Org.BouncyCastle.Tls.Crypto
|
|
{
|
|
/// <summary>Base interface for a generator for SRP-6 verifiers.</summary>
|
|
public interface TlsSrp6VerifierGenerator
|
|
{
|
|
/// <summary>Creates a new SRP-6 verifier value.</summary>
|
|
/// <param name="salt">The salt to use, generally should be large and random</param>
|
|
/// <param name="identity">The user's identifying information (eg. username)</param>
|
|
/// <param name="password">The user's password</param>
|
|
/// <returns>A new verifier for use in future SRP authentication</returns>
|
|
BigInteger GenerateVerifier(byte[] salt, byte[] identity, byte[] password);
|
|
}
|
|
}
|
|
|