1870件ヒット
[1-100件を表示]
(0.050秒)
ライブラリ
- ビルトイン (505)
- benchmark (12)
- date (122)
- drb (12)
-
fiddle
/ import (24) - fileutils (12)
- json (12)
-
net
/ http (12) -
net
/ imap (36) -
net
/ smtp (48) -
net
/ telnet (4) - openssl (84)
-
rdoc
/ code _ object (12) -
rdoc
/ context (132) -
rexml
/ document (36) -
rinda
/ rinda (60) -
rinda
/ tuplespace (60) -
rubygems
/ format (24) -
rubygems
/ security (276) - securerandom (80)
- set (18)
- socket (132)
- syslog (12)
- time (24)
- timeout (37)
- un (12)
- uri (12)
クラス
- Array (10)
-
CGI
:: Cookie (12) -
DRb
:: DRbServer (12) - DateTime (122)
- FalseClass (60)
-
Gem
:: Format (24) -
Gem
:: Security :: Policy (108) -
Gem
:: Security :: Signer (36) -
Net
:: HTTP (12) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseText (12) -
Net
:: SMTP (48) -
Net
:: Telnet (4) - Object (8)
-
OpenSSL
:: Config (84) -
RDoc
:: CodeObject (12) -
RDoc
:: Context (36) -
RDoc
:: Context :: Section (96) -
Rinda
:: SimpleRenewer (12) -
Rinda
:: TupleEntry (12) -
Rinda
:: TupleSpace (48) -
Rinda
:: TupleSpaceProxy (48) - Set (24)
- Socket (60)
-
Socket
:: Option (12) - String (21)
- Symbol (21)
- Time (331)
-
WEBrick
:: Cookie (12)
モジュール
- Benchmark (12)
-
Fiddle
:: Importer (24) - FileUtils (12)
-
GC
:: Profiler (24) -
Gem
:: Security (132) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) - Kernel (52)
- Process (24)
-
REXML
:: Security (36) - SecureRandom (80)
-
Socket
:: Constants (60) -
Syslog
:: Facility (12) - Timeout (21)
- URI (12)
キーワード
- & (12)
- == (12)
- AlmostNoSecurity (12)
-
CLOCK
_ SECOND (12) - FALSE (8)
- HighSecurity (12)
-
INSECURE
_ METHOD (12) -
IP
_ IPSEC _ POLICY (24) -
IP
_ PASSSEC (24) -
LOG
_ SECURITY (12) - LowSecurity (12)
- MediumSecurity (12)
- NoSecurity (12)
- OPT (12)
- Policies (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
-
SO
_ SECURITY _ AUTHENTICATION (24) -
SO
_ SECURITY _ ENCRYPTION _ NETWORK (24) -
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (24) - [] (12)
- ^ (12)
-
_ strptime (12) -
add
_ trusted _ cert (12) -
add
_ value (12) - alphanumeric (8)
- at (34)
-
auth
_ cram _ md5 (12) -
auth
_ login (12) -
auth
_ plain (12) - authenticate (12)
- base64 (12)
- bmbm (12)
-
build
_ cert (12) -
build
_ self _ signed _ cert (12) - casecmp (24)
- casecmp? (18)
-
cert
_ chain (12) - civil (12)
-
clock
_ gettime (12) - code (12)
- comment (12)
- commercial (12)
-
current
_ section (12) - data (12)
-
decode
_ www _ form _ component (12) -
deconstruct
_ keys (4) - each (12)
-
entity
_ expansion _ limit (12) -
entity
_ expansion _ text _ limit (12) -
entity
_ expansion _ text _ limit= (12) -
from
_ file _ by _ path (12) -
from
_ io (12) -
get
_ value (12) - gm (24)
- hex (12)
- inspect (24)
- intersect? (16)
- intersection (18)
- iso8601 (12)
- jd (12)
-
keep
_ alive _ timeout= (12) - key (12)
- linger (12)
- local (24)
- mktime (24)
- name (12)
- new (95)
- notify (24)
- now (12)
- nsec (12)
-
only
_ signed (12) -
only
_ trusted (12) - ordinal (12)
- parent (12)
-
random
_ bytes (12) -
random
_ number (12) - read (24)
-
remove
_ entry _ secure (12) - renew (12)
- report (12)
- result (12)
-
ruby 1
. 6 feature (12) -
rubygems
/ security (12) -
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) - section (24)
- sections (24)
- secure (24)
- sequence (12)
-
set
_ comment (12) -
set
_ current _ section (12) -
sign
_ cert (12) - sizeof (12)
- sleep (24)
- struct (12)
- subsec (12)
- take (24)
- timeout (37)
- title (12)
-
to
_ a (12) -
to
_ i (12) -
to
_ json (12) -
to
_ s (12) -
trusted
_ cert _ path (12) -
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) -
urlsafe
_ base64 (12) - usec (12)
- utc (24)
- uuid (12)
- value (12)
-
verify
_ chain (12) -
verify
_ data (12) -
verify
_ gem (12) -
verify
_ root (12) -
verify
_ signer (12) -
wait
_ writable (12) - write (24)
- xmlschema (12)
- | (12)
検索結果
先頭5件
-
Time
# -(sec) -> Time (18270.0) -
自身より sec 秒だけ前の時刻を返します。
...自身より sec 秒だけ前の時刻を返します。
@param sec 実数を秒を単位として指定します。
//emlist[][ruby]{
p t = Time.local(2000) # => 2000-01-01 00:00:00 +0900
p t2 = t + 2592000 # => 2000-01-31 00:00:00 +0900
p t2 - 2592000 # => 2000-01-01 00:00:00 +09... -
DateTime
# sec -> Integer (18217.0) -
秒を返します (0-59)。
...秒を返します (0-59)。... -
Time
# sec -> Integer (18213.0) -
秒を整数で返します。
...秒を整数で返します。
//emlist[][ruby]{
p Time.mktime(2000, 1, 1).sec # => 0
//}
通常は0から59を返しますが、うるう秒の場合は60を返します。
//emlist[][ruby]{
ENV['TZ'] = 'right/UTC'
p Time.mktime(2005, 12, 31, 23, 59, 60).sec # => 60
//}... -
Time
# -(time) -> Float (18140.0) -
自身と time との時刻の差を Float で返します。単位は秒です。
...します。単位は秒です。
@param time 自身との差を算出したい Time オブジェクトを指定します。
//emlist[][ruby]{
p t = Time.local(2000) # => 2000-01-01 00:00:00 +0900
p t2 = t + 2592000 # => 2000-01-31 00:00:00 +0900
p t2 - t # => 2592000.0
//}... -
Gem
:: Security :: AlmostNoSecurity -> Gem :: Security :: Policy (9300.0) -
ほとんどの検証を行わないポリシーです。
ほとんどの検証を行わないポリシーです。
署名されたデータの検証のみ行います。
このポリシーは何もしないよりはマシですが、ほとんど役に立たない上、
簡単に騙すことができるので、使用しないでください。
:verify_data => true,
:verify_signer => false,
:verify_chain => false,
:verify_root => false,
:only_trusted => false,
:only_signed => false -
Gem
:: Security :: HighSecurity -> Gem :: Security :: Policy (9300.0) -
高レベルのセキュリティポリシーです。
高レベルのセキュリティポリシーです。
署名された Gem のみインストール可能です。
ルート証明書のみを信頼して、全ての検証を行います。
ただし、信頼するように指定された証明書は信頼します。
このセキュリティポリシーはバイパスするのがものすごく困難です。
:verify_data => true,
:verify_signer => true,
:verify_chain => true,
:verify_root => true,
:only_trusted => true,
:only_si... -
Gem
:: Security :: LowSecurity -> Gem :: Security :: Policy (9300.0) -
低レベルのセキュリティのポリシーです。
低レベルのセキュリティのポリシーです。
署名されたデータと署名者の検証を行います。
このポリシーは何もしないよりはマシですが、ほとんど役に立たない上、
簡単に騙すことができるので、使用しないでください。
:verify_data => true,
:verify_signer => true,
:verify_chain => false,
:verify_root => false,
:only_trusted => false,
:only_signed => false -
Gem
:: Security :: MediumSecurity -> Gem :: Security :: Policy (9300.0) -
中レベルのセキュリティポリシーです。
中レベルのセキュリティポリシーです。
ルート証明書のみを信頼して、全ての検証を行います。
ただし、信頼するように指定された証明書は信頼します。
このポリシーは便利ですが、署名無しのパッケージを許可しているので、
邪悪な人物がパッケージの署名を単純に削除して検証をパスさせることができます。
:verify_data => true,
:verify_signer => true,
:verify_chain => true,
:verify_root => true,
:only_trusted => tr... -
Gem
:: Security :: NoSecurity -> Gem :: Security :: Policy (9300.0) -
セキュリティなしのポリシーです。
セキュリティなしのポリシーです。
全ての検証を行いません。
:verify_data => false,
:verify_signer => false,
:verify_chain => false,
:verify_root => false,
:only_trusted => false,
:only_signed => false