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.
15 lines
525 B
15 lines
525 B
using System;
|
|
|
|
using Org.BouncyCastle.Tls.Crypto;
|
|
|
|
namespace Org.BouncyCastle.Tls
|
|
{
|
|
/// <summary>Interface for verifying explicit Diffie-Hellman group parameters.</summary>
|
|
public interface TlsDHGroupVerifier
|
|
{
|
|
/// <summary>Check whether the given DH group is acceptable for use.</summary>
|
|
/// <param name="dhGroup">the <see cref="DHGroup"/> to check.</param>
|
|
/// <returns>true if (and only if) the specified group is acceptable.</returns>
|
|
bool Accept(DHGroup dhGroup);
|
|
}
|
|
}
|
|
|