Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

OpenSSL::X509::Name.parse_rfc2253

(::String str, ?::OpenSSL::X509::Name::template template) -> instance
parse_rfc2253(str, template=OBJECT_TYPE_TEMPLATE)

Parses the UTF-8 string representation of a distinguished name, according to RFC 2253.

See also to_utf8 for the opposite operation.

See also .parse_openssl #<=> .parse #add_entry also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0