240件ヒット
[1-100件を表示]
(0.144秒)
ライブラリ
- ビルトイン (12)
-
net
/ imap (48) - openssl (96)
- socket (60)
-
webrick
/ httpauth / basicauth (24)
クラス
- BasicSocket (60)
-
Net
:: IMAP :: BodyTypeBasic (48) -
OpenSSL
:: OCSP :: BasicResponse (72) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: OCSP :: Response (12) - Time (12)
-
WEBrick
:: HTTPAuth :: BasicAuth (24)
キーワード
-
add
_ nonce (12) -
add
_ status (12) - authenticate (12)
- challenge (12)
-
check
_ nonce (12) -
connect
_ address (12) -
content
_ id (12) -
copy
_ nonce (12) - description (12)
- disposition (12)
- extension (12)
- getsockopt (12)
- recvmsg (12)
-
recvmsg
_ nonblock (12) - setsockopt (12)
- sign (12)
- status (12)
- strftime (12)
- verify (12)
検索結果
先頭5件
- OpenSSL
:: OCSP :: Response # basic -> OpenSSL :: OCSP :: BasicResponse | nil - OpenSSL
:: OCSP :: BasicResponse # copy _ nonce(request) -> Integer - Net
:: IMAP :: BodyTypeBasic # disposition -> Net :: IMAP :: ContentDisposition | nil - Net
:: IMAP :: BodyTypeBasic # description -> String | nil - OpenSSL
:: OCSP :: BasicResponse # add _ nonce(val=nil) -> self
-
OpenSSL
:: OCSP :: Response # basic -> OpenSSL :: OCSP :: BasicResponse | nil (24402.0) -
Response オブジェクトが保持している BasicResponse オブジェクトを 返します。
...Response オブジェクトが保持している BasicResponse オブジェクトを
返します。
@see OpenSSL::OCSP::BasicResponse... -
OpenSSL
:: OCSP :: BasicResponse # copy _ nonce(request) -> Integer (18201.0) -
request から nonce の値をコピーします。
...request から nonce の値をコピーします。
@param request コピー元のnonceを保持している Request (OpenSSL::OCSP::Request オブジェクト)... -
Net
:: IMAP :: BodyTypeBasic # disposition -> Net :: IMAP :: ContentDisposition | nil (15501.0) -
Content-Dispotition の値を返します。
...Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183... -
Net
:: IMAP :: BodyTypeBasic # description -> String | nil (15201.0) -
Content-Description の値を文字列で返します。
...Content-Description の値を文字列で返します。
@see 2045... -
OpenSSL
:: OCSP :: BasicResponse # add _ nonce(val=nil) -> self (15101.0) -
BasicResponse に nonce を追加します。
...BasicResponse に nonce を追加します。
引数を省略すると、ランダムな nonce を生成し利用します。
通常はこのメソッドを使わず OpenSSL::OCSP::BasicResponse#copy_nonce を
用います。
@param val 追加する nonce の値(文字列)... -
Net
:: IMAP :: BodyTypeBasic # content _ id -> String | nil (12101.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeBasic # extension -> Array | nil (12101.0) -
メッセージの拡張データを返します。
メッセージの拡張データを返します。 -
BasicSocket
# getsockopt(level , optname) -> Socket :: Option (9425.0) -
ソケットのオプションを取得します。getsockopt(2) を参照してください。 取得したオプションのデータを Socket::Option で返します。
...ンを取得します。getsockopt(2)
を参照してください。
取得したオプションのデータを Socket::Option で返します。
level, optname には Socket::SOL_SOCKET や Socket::SO_REUSEADDR
といった整数値の他、文字列("SOL_SOCKET", prefixなしの "SOCKET")や
シ......param level getsockopt(2) の 第二引数のlevel
@param optname getsockopt(2) の 第三引数のoption_name
@see BasicSocket#setsockopt
例:
require 'socket'
serv = Socket.tcp_server_sockets("", 0)[0]
c = serv.local_address.connect
s = serv.accept
opt = c.getsockopt(Socket::IPP......ROTO_TCP, Socket::TCP_NODELAY)
# c.getsockopt("TCP", "NODELAY"), なども可能
p opt #=> #<Socket::Option: INET TCP NODELAY 0>
p opt.bool #=> false (Nagle アルゴリズム有効)
p opt.unpack("i")[0] #=> 0 (Socket::Option#unpack が互換性のために存在する)
# 整数値の場... -
OpenSSL
:: OCSP :: Request # check _ nonce(basic _ resp) -> Integer (9308.0) -
自身の nonce とレスポンスの nonce が整合しているか チェックします。
...自身の nonce とレスポンスの nonce が整合しているか
チェックします。
-1 から 3 までの整数を返します。それぞれの意味は以下の通りです。
* -1 自身にしか nonce が設定されていない
* 0 nonce が自身とレスポンスの両方にあ......* 1 nonce が自身とレスポンスの両方にあり等しい
* 2 nonce が自身とレスポンスのどちらにもない
* 3 nonce がレスポンスにしか設定されていない
0 は明らかに不正なので、これは必ずチェックする必要があります。
1 は nonce......を意味します。
それ以外は、場合(サーバの実装など)
によって不正であったりそうでなかったりしますので、適切にチェック
する必要があります。
@param basic_resp 比較するレスポンス(OpenSSL::OCSP::BasicResponse オブジェクト)...