class OpenSSL::X509::Name

def parse_rfc2253(str, template=OBJECT_TYPE_TEMPLATE)

def parse_rfc2253(str, template=OBJECT_TYPE_TEMPLATE)
  ary = OpenSSL::X509::Name::RFC2253DN.scan(str)
  self.new(ary, template)
end