method

params_ok?

v1_9_3_392 - Show latest stable - Class: OpenSSL::PKey::DH
params_ok?()
public

Validates the Diffie-Hellman parameters associated with this instance. It checks whether a safe prime and a suitable generator are used. If this is not the case, false is returned.