Class OpenSSL::X509::Name
In: openssl/lib/openssl/x509.rb
Parent: Object

Methods

Classes and Modules

Module OpenSSL::X509::Name::RFC2253DN

External Aliases

parse_openssl -> parse

Public Class methods

[Source]

# File openssl/lib/openssl/x509.rb, line 145
        def parse_openssl(str, template=OBJECT_TYPE_TEMPLATE)
          ary = str.scan(/\s*([^\/,]+)\s*/).collect{|i| i[0].split("=", 2) }
          self.new(ary, template)
        end

[Source]

# File openssl/lib/openssl/x509.rb, line 140
        def parse_rfc2253(str, template=OBJECT_TYPE_TEMPLATE)
          ary = OpenSSL::X509::Name::RFC2253DN.scan(str)
          self.new(ary, template)
        end

[Validate]

ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.