Top Description Methods
org.bouncycastle.tls

public Interface TlsDHGroupVerifier

Known Direct Implementers
org.bouncycastle.tls.DefaultTlsDHGroupVerifier
Imports
org.bouncycastle.tls.crypto.DHGroup

Interface for verifying explicit Diffie-Hellman group parameters.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if (and only if) the specified group is acceptable
accept
(DHGroup
the DHGroup to check
dhGroup
)

Check whether the given DH group is acceptable for use.

Method Detail

acceptback to summary
public boolean accept(DHGroup dhGroup)

Check whether the given DH group is acceptable for use.

Parameters
dhGroup:DHGroup

the DHGroup to check

Returns:boolean

true if (and only if) the specified group is acceptable