Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Interface TlsDHVerifier

All Known Implementing Classes:
DefaultTlsDHVerifier

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public interface TlsDHVerifier

Interface a class for verifying Diffie-Hellman parameters needs to conform to.


Method Summary
 boolean accept(DHParameters dhParameters)
          Deprecated. Check whether the given DH parameters are acceptable for use.
 

Method Detail

accept

public boolean accept(DHParameters dhParameters)
Deprecated. 
Check whether the given DH parameters are acceptable for use.

Parameters:
dhParameters - the DHParameters to check
Returns:
true if (and only if) the specified parameters are acceptable

Bouncy Castle Cryptography Library 1.64