るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.057秒)

別のキーワード

  1. openssl new
  2. openssl digest
  3. openssl to_der
  4. openssl hexdigest
  5. openssl to_s

クラス

検索結果

OpenSSL::Config#each {|section, key, value| ... } -> self (87724.0)

オブジェクトに含まれる全ての設定情報を順にブロックに渡し 呼び出します。

...を表す文字列、キーを表す文字列、キーに
割り当てられた値の文字列、の3つです。

require 'openssl'
conf = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
conf.each{|section, key, value| p [section, key, value]}
# => ["req_distinguished_name", "cou...