るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.120秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:openssl[x] > クエリ:load[x] > クラス:OpenSSL::Config[x]

別のキーワード

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

ライブラリ

検索結果

OpenSSL::Config#each {|section, key, value| ... } -> self (11026.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", "countr...