るりまサーチ (Ruby 3.2)

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

別のキーワード

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

ライブラリ

モジュール

キーワード

検索結果

OpenSSL::OCSP::BasicResponse.new -> OpenSSL::OCSP::BasicResponse (42625.0)

空の BasicResponse オブジェクトを生成します。

空の BasicResponse オブジェクトを生成します。

@see OpenSSL::OCSP::Response.create

OpenSSL::OCSP::Response.create(status, basic_resp) -> OpenSSL::OCSP::Response (33712.0)

Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。

Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。


@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new

OpenURI.open_uri(name, mode = 'r', perm = nil, options = {}) -> StringIO (256.0)

URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。

URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。

ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返します。

require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read

OpenURI.open_uri('http://www.example.com'){|...

OpenURI.open_uri(name, mode = 'r', perm = nil, options = {}) {|sio| ... } -> nil (256.0)

URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。

URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。

ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返します。

require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read

OpenURI.open_uri('http://www.example.com'){|...