156件ヒット
[1-100件を表示]
(0.116秒)
種類
- インスタンスメソッド (108)
- 定数 (24)
- モジュール (12)
- モジュール関数 (12)
ライブラリ
- json (60)
-
net
/ http (12) - openssl (48)
-
rexml
/ parsers / pullparser (12) -
rubygems
/ remote _ fetcher (12) -
webrick
/ ssl (12)
クラス
-
Gem
:: RemoteFetcher (12) -
JSON
:: State (60) -
Net
:: HTTP (12) -
OpenSSL
:: SSL :: SSLContext (12) -
REXML
:: Parsers :: PullParser (12)
モジュール
-
OpenSSL
:: ASN1 (12) -
OpenSSL
:: X509 (12) -
WEBrick
:: Config (12)
キーワード
- SSL (12)
-
V
_ ERR _ CERT _ CHAIN _ TOO _ LONG (12) - X509 (12)
- depth= (12)
-
max
_ nesting= (12) -
open
_ uri _ or _ path (12) - peek (12)
- propfind (12)
-
set
_ params (12) -
to
_ h (12) -
to
_ hash (12) - traverse (12)
検索結果
先頭5件
-
JSON
:: State # depth -> Integer (21117.0) -
This integer returns the current depth of data structure nesting.
...This integer returns the current depth of data structure nesting.... -
JSON
:: State # depth=(depth) (9218.0) -
This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.
...This sets the maximum level of data structure nesting in the generated
JSON to the integer depth, max_nesting = 0 if no maximum should be
checked.... -
REXML
:: Parsers :: PullParser # peek(depth = 0) -> REXML :: Parsers :: PullEvent | nil (6235.0) -
イベントキューの先頭から depth 番目のイベントを取り出します。
...イベントキューの先頭から depth 番目のイベントを取り出します。
一番先頭のイベントは 0 で表します。
このメソッドでは列そのものの状態は変化しません。
先頭から depth 番目のイベントが存在しない(XML文書の末尾の......ようとした場合)は nil を返します。
@param depth 先頭から depth 番目のイベントを取り出します
@raise REXML::ParseException XML文書のパースに失敗した場合に発生します
@raise REXML::UndefinedNamespaceException XML文書のパース中に、定義され... -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (6219.0) -
@param uri URI を指定します。
...@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトで......は 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
OpenSSL
:: SSL :: SSLContext # set _ params(params) -> Hash (6212.0) -
パラメータをハッシュで設定します。
...a (OpenSSL::SSL::SSLContext#client_ca=)
* :ca_file (OpenSSL::SSL::SSLContext#ca_file=)
* :ca_path (OpenSSL::SSL::SSLContext#ca_path=)
* :timeout (OpenSSL::SSL::SSLContext#timeout=)
* :verify_mode (OpenSSL::SSL::SSLContext#verify_mode=)
* :verify_depth (OpenSSL::SSL::SSLContext#verify_depth......allback (OpenSSL::SSL::SSLContext#verify_callback=)
* :options (OpenSSL::SSL::SSLContext#options=)
* :cert_store (OpenSSL::SSL::SSLContext#cert_store=)
* :extra_chain_cert (OpenSSL::SSL::SSLContext#extra_chain_cert=)
* :client_cert_cb (OpenSSL::SSL::SSLContext#client_cert_cb=)
* :tmp_dh_ca......llback (OpenSSL::SSL::SSLContext#tmp_dh_callback=)
* :session_id_context (OpenSSL::SSL::SSLContext#session_id_context=)
* :session_get_cb (OpenSSL::SSL::SSLContext#session_get_cb=)
* :session_new_cb (OpenSSL::SSL::SSLContext#session_new_cb=)
* :session_remove_cb (OpenSSL::SSL::SSLContext#ses... -
OpenSSL
:: ASN1 . # traverse(der) {|depth , off , hlen , len , constructed , tag _ class , tag| . . . } -> nil (6207.0) -
DER形式の文字列を解析し、そこに含まれる ASN.1 の値 のプロパティを引数として与えられたブロックを呼びだします。
...DER形式の文字列を解析し、そこに含まれる ASN.1 の値
のプロパティを引数として与えられたブロックを呼びだします。
OpenSSL::ASN1.#decode_all のように、文字列に含まれる
全ての ASN.1 オブジェクトのインスタンスを解析します......* depth: 再帰の深さ
* off: 対象の値をエンコードした文字列の der の先頭からのオフセット
* hlen: エンコードされたデータのヘッダのバイト数
* len: エンコードされたデータの値フィールドのバイト数
* constructed:対象の AS......* tag_class: タグクラスを表す Symbol オブジェクト
(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)
* tag: タグ番号
@param der DER形式の文字列
@raise OpenSSL::ASN1::ASN1Error 解析に失敗した場合に発生します
@see OpenSSL::ASN1.#dec... -
JSON
:: State # to _ hash -> Hash (6206.0) -
自身をハッシュに変換します。
...equire "pp"
json_state = JSON::State.new
pp json_state.to_h
# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,
# :max_nesting=>100,
# :depth=>0,
# :buffer_initial_length=>1024}
//}... -
JSON
:: State # max _ nesting=(depth) (6201.0) -
生成される JSON 形式の文字列のネストの深さの最大値をセットします。
...せん。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(max_nesting: 2)
json_state.max_nesting # => 2
JSON.generate([[]], json_state)
json_state.max_nesting = 3
json_state.max_nesting # => 3
JSON.generate([[[[]]]], json_state) # => JSON::NestingError
//}... -
OpenSSL
:: X509 :: V _ ERR _ CERT _ CHAIN _ TOO _ LONG -> Integer (6106.0) -
証明書チェインが長すぎることを意味します。
...証明書チェインが長すぎることを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::SSL::SSLContext#verify_depth=...