Table of Contents

Class DefaultTlsSrpConfigVerifier

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll
public class DefaultTlsSrpConfigVerifier : TlsSrpConfigVerifier
Inheritance
DefaultTlsSrpConfigVerifier
Implements
Inherited Members

Constructors

DefaultTlsSrpConfigVerifier()

Accept only the group parameters specified in RFC 5054 Appendix A.

public DefaultTlsSrpConfigVerifier()

DefaultTlsSrpConfigVerifier(IList<Srp6Group>)

Specify a custom set of acceptable group parameters.

public DefaultTlsSrpConfigVerifier(IList<Srp6Group> groups)

Parameters

groups IList<Srp6Group>

an IList<T> of acceptable Srp6Group.

Fields

m_groups

protected readonly IList<Srp6Group> m_groups

Field Value

IList<Srp6Group>

Methods

Accept(TlsSrpConfig)

Check whether the given SRP configuration is acceptable for use.

public virtual bool Accept(TlsSrpConfig srpConfig)

Parameters

srpConfig TlsSrpConfig

the TlsSrpConfig to check.

Returns

bool

true if (and only if) the specified configuration is acceptable.

AreGroupsEqual(TlsSrpConfig, Srp6Group)

protected virtual bool AreGroupsEqual(TlsSrpConfig a, Srp6Group b)

Parameters

a TlsSrpConfig
b Srp6Group

Returns

bool

AreParametersEqual(BigInteger, BigInteger)

protected virtual bool AreParametersEqual(BigInteger a, BigInteger b)

Parameters

a BigInteger
b BigInteger

Returns

bool