180件ヒット
[1-100件を表示]
(0.036秒)
種類
- インスタンスメソッド (120)
- 定数 (24)
- モジュール関数 (24)
- ライブラリ (12)
ライブラリ
- json (72)
-
net
/ http (12) - openssl (72)
-
webrick
/ ssl (12)
クラス
-
JSON
:: State (60) -
Net
:: HTTP (12) -
OpenSSL
:: SSL :: SSLContext (36) -
OpenSSL
:: X509 :: StoreContext (12)
モジュール
- JSON (12)
-
OpenSSL
:: ASN1 (12) -
OpenSSL
:: X509 (12) -
WEBrick
:: Config (12)
キーワード
- SSL (12)
-
V
_ ERR _ CERT _ CHAIN _ TOO _ LONG (12) - depth= (12)
- dump (12)
-
error
_ depth (12) -
max
_ nesting= (12) - propfind (12)
-
set
_ params (12) -
to
_ h (12) -
to
_ hash (12) - traverse (12)
- tsort (12)
-
verify
_ depth (12) -
verify
_ depth= (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.... -
OpenSSL
:: SSL :: SSLContext # verify _ depth=(depth) (9214.0) -
証明書チェイン上の検証する最大の深さを設定します。
...証明書チェイン上の検証する最大の深さを設定します。
デフォルトは nil で、この場合 OpenSSL のデフォルト値(9)が使われます。
@param depth 最大深さを表す整数
@see OpenSSL::SSL::SSLContext#verify_depth... -
OpenSSL
:: SSL :: SSLContext # verify _ depth -> Integer | nil (9107.0) -
証明書チェイン上の検証する最大の深さを返します。
...証明書チェイン上の検証する最大の深さを返します。
デフォルトは nil です。
@see OpenSSL::SSL::SSLContext#verify_depth=... -
OpenSSL
:: X509 :: StoreContext # error _ depth -> Integer (9101.0) -
エラーが起きた場所の深さを返します。
...StoreContext#verify を呼び出したあと、
このメソッドを呼ぶと検証でエラーが起きた場所の深さを返します。
証明書チェインの各証明書を検証した
コールバック(OpenSSL::X509::Store#verify_callback=)が検証時に
呼びだされ、StoreContext... -
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=... -
JSON
:: State # max _ nesting=(depth) (3101.0) -
生成される JSON 形式の文字列のネストの深さの最大値をセットします。
...生成される 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
:: SSL :: SSLContext # set _ params(params) -> Hash (3012.0) -
パラメータをハッシュで設定します。
...SSLContext#cert=)
* :key (OpenSSL::SSL::SSLContext#key=)
* :client_ca (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::SSLContex......y_mode=)
* :verify_depth (OpenSSL::SSL::SSLContext#verify_depth=)
* :verify_callback (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_cer......Context#client_cert_cb=)
* :tmp_dh_callback (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_... -
JSON
. # dump(object , io = nil , limit = nil) -> String | IO (3006.0) -
与えられたオブジェクトを JSON 形式の文字列に変換してダンプします。
...与えられたオブジェクトを JSON 形式の文字列に変換してダンプします。
与えられたオブジェクトを引数として JSON.#generate を呼び出します。
@param object ダンプするオブジェクトを指定します。
@param io IO のように write メ......uire "json"
JSON.dump({ name: "tanaka", age: 19 }) # => "{\"name\":\"tanaka\",\"age\":19}"
//}
//emlist[例][ruby]{
require "json"
File.open("test.txt", "w") do |f|
JSON.dump([[[[[[[[[[]]]]]]]]]], f, 10) # => #<File:test.txt>
JSON.dump([[[[[[[[[[[]]]]]]]]]]], f, 10) # => exceed depth limit...