Package org.bouncycastle.crypto.tls
Interface TlsDHVerifier
-
- All Known Implementing Classes:
DefaultTlsDHVerifier
public interface TlsDHVerifier
Interface a class for verifying Diffie-Hellman parameters needs to conform to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(DHParameters dhParameters)
Check whether the given DH parameters are acceptable for use.
-
-
-
Method Detail
-
accept
boolean accept(DHParameters dhParameters)
Check whether the given DH parameters are acceptable for use.- Parameters:
dhParameters
- theDHParameters
to check- Returns:
- true if (and only if) the specified parameters are acceptable
-
-