るりまサーチ

最速Rubyリファレンスマニュアル検索!
55件ヒット [1-55件を表示] (0.074秒)
トップページ > クエリ:>[x] > クエリ:name[x] > クエリ:to_s[x] > クラス:OpenSSL::X509::Name[x]

別のキーワード

  1. _builtin name
  2. resolv each_name
  3. win32ole name
  4. openssl name
  5. net/imap name

ライブラリ

キーワード

検索結果

OpenSSL::X509::Name#to_s(flags=nil) -> String (21286.0)

DNの文字列表現を返します。

...常は以下のいずれかを渡します。
* nil
* OpenSSL::X509::Name::COMPAT
* OpenSSL::X509::Name::RFC2253
* OpenSSL::X509::Name::ONELINE
* OpenSSL::X509::Name::MULTILINE

*
例:
require 'openssl'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=L...
...jp')
n.to_s
# => "/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::COMPAT)
# => "C=JP, ST=Kanagawa, L=Yokohama, O=Example Company, OU=Lab3, CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL:...
...)
# => "emailAddress=foobar@lab3.example.co.jp,CN=foobar,OU=Lab3,O=Example Company,L=Yokohama,ST=Kanagawa,C=JP"
n.to_s(OpenSSL::X509::Name::ONELINE)
# => "C = JP, ST = Kanagawa, L = Yokohama, O = Example Company, OU = Lab3, CN = foobar, emailAddress = foobar@lab3.example.co.jp"
n.to_s(OpenSS...

OpenSSL::X509::Name::COMPAT -> Integer (3133.0)

OpenSSL::X509::Name#to_s のフラグとして使います。

...OpenSSL::X509::Name#to_s のフラグとして使います。...

OpenSSL::X509::Name::MULTILINE -> Integer (3133.0)

OpenSSL::X509::Name#to_s のフラグとして使います。

...OpenSSL::X509::Name#to_s のフラグとして使います。

複数行でフォーマットされます。...

OpenSSL::X509::Name::ONELINE -> Integer (3133.0)

OpenSSL::X509::Name#to_s のフラグとして使います。

...OpenSSL::X509::Name#to_s のフラグとして使います。

1行で読みやすくフォーマットされます。...

OpenSSL::X509::Name::RFC2253 -> Integer (3133.0)

OpenSSL::X509::Name#to_s のフラグとして使います。

...OpenSSL::X509::Name#to_s のフラグとして使います。

2253 互換方式でフォーマットされます。...

絞り込み条件を変える