method

to_s

ruby latest stable - Class: OpenSSL::X509::Name
to_s(*args)
public

Returns a String representation of the Distinguished Name. format is one of:

  • OpenSSL::X509::Name::COMPAT

  • OpenSSL::X509::Name::RFC2253

  • OpenSSL::X509::Name::ONELINE

  • OpenSSL::X509::Name::MULTILINE

If format is omitted, the largely broken and traditional OpenSSL format is used.