method

export

ruby latest stable - Class: OpenSSL::PKey::DH
export()
public

Encodes this DH to its PEM encoding. Note that any existing per-session public/private keys will not get encoded, just the Diffie-Hellman parameters will be encoded.