using System; using Org.BouncyCastle.Tls.Crypto; namespace Org.BouncyCastle.Tls { /// Interface for verifying explicit Diffie-Hellman group parameters. public interface TlsDHGroupVerifier { /// Check whether the given DH group is acceptable for use. /// the to check. /// true if (and only if) the specified group is acceptable. bool Accept(DHGroup dhGroup); } }