るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.030秒)
トップページ > クエリ:hash[x] > クエリ:ExtensionFactory[x]

別のキーワード

  1. _builtin hash
  2. hash []
  3. dbm to_hash
  4. matrix hash
  5. _builtin to_hash

ライブラリ

キーワード

検索結果

OpenSSL::X509::ExtensionFactory (18018.0)

OpenSSL::X509::Extension を簡便に生成するための クラスです。

...(File.read('req.pem'))
newcert = OpenSSL::X509::Certificate.new
# 新しい ExtensionFactory オブジェクトを生成し、 CA の証明書オブジェクト
# を設定
factory = OpenSSL::X509::ExtensionFactory.new(ca_cert)
# CSR オブジェクトを設定
factory.subject_request =...
...張領域を生成
# この値は CSR オブジェクトの公開鍵から生成される
p factory.create_extension("subjectKeyIdentifier", "hash")
# => subjectKeyIdentifier = 99:E7:A1:.....

# authorityKeyIdentifier 拡張領域を生成
# この値は CA の証明書オブジェクト...

OpenSSL::X509::ExtensionFactory#create_ext_from_hash(hash) -> OpenSSL::X509::Extension (9214.0)

ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。

...value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同じになります。

@param hash 生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext...

OpenSSL::X509::ExtensionFactory#create_extension(obj) -> OpenSSL::X509::Extension (3030.0)

OpenSSL::X509::Extension のインスタンスを生成して返します。

...配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from_hash
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生...

OpenSSL::X509::ExtensionFactory#create_extension(oid, value, critical=false) -> OpenSSL::X509::Extension (3030.0)

OpenSSL::X509::Extension のインスタンスを生成して返します。

...配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from_hash
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生...