method

export

ruby latest stable - Class: OpenSSL::PKey::DSA
export(p1 = v1, p2 = v2)
public

Encodes this DSA to its PEM encoding.

Parameters

  • cipher is an OpenSSL::Cipher.

  • password is a string containing your password.

Examples

DSA.to_pem -> aString
DSA.to_pem(cipher, 'mypassword') -> aString