1712件ヒット
[1-100件を表示]
(0.085秒)
ライブラリ
- ビルトイン (450)
- benchmark (11)
- date (110)
- drb (11)
-
fiddle
/ import (22) - fileutils (11)
- json (11)
-
net
/ http (11) -
net
/ imap (33) -
net
/ smtp (44) -
net
/ telnet (4) - openssl (77)
-
rdoc
/ code _ object (11) -
rdoc
/ context (121) -
rexml
/ document (33) -
rinda
/ rinda (55) -
rinda
/ tuplespace (55) -
rubygems
/ format (22) -
rubygems
/ security (253) - securerandom (73)
- set (22)
- socket (121)
- syslog (11)
- time (22)
- timeout (41)
- un (11)
- uri (11)
クラス
- Array (8)
-
CGI
:: Cookie (11) -
DRb
:: DRbServer (11) - DateTime (110)
- FalseClass (55)
-
Gem
:: Format (22) -
Gem
:: Security :: Policy (99) -
Gem
:: Security :: Signer (33) -
Net
:: HTTP (11) -
Net
:: IMAP :: ResponseCode (22) -
Net
:: IMAP :: ResponseText (11) -
Net
:: SMTP (44) -
Net
:: Telnet (4) - Object (8)
-
OpenSSL
:: Config (77) -
RDoc
:: CodeObject (11) -
RDoc
:: Context (33) -
RDoc
:: Context :: Section (88) -
Rinda
:: SimpleRenewer (11) -
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (44) -
Rinda
:: TupleSpaceProxy (44) - Set (22)
- Socket (55)
-
Socket
:: Option (11) - String (19)
- Symbol (19)
- Time (297)
-
WEBrick
:: Cookie (11)
モジュール
- Benchmark (11)
-
Fiddle
:: Importer (22) - FileUtils (11)
-
GC
:: Profiler (22) -
Gem
:: Security (121) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) - Kernel (55)
- Process (22)
-
REXML
:: Security (33) - SecureRandom (73)
-
Socket
:: Constants (55) -
Syslog
:: Facility (11) - Timeout (19)
- URI (11)
キーワード
- & (11)
- == (11)
- AlmostNoSecurity (11)
-
CLOCK
_ SECOND (11) - FALSE (8)
- HighSecurity (11)
-
INSECURE
_ METHOD (11) -
IP
_ IPSEC _ POLICY (22) -
IP
_ PASSSEC (22) -
LOG
_ SECURITY (11) - LowSecurity (11)
- MediumSecurity (11)
- NoSecurity (11)
- OPT (11)
- Policies (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
-
SO
_ SECURITY _ AUTHENTICATION (22) -
SO
_ SECURITY _ ENCRYPTION _ NETWORK (22) -
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (22) - [] (11)
- ^ (11)
-
_ strptime (11) -
add
_ trusted _ cert (11) -
add
_ value (11) - alphanumeric (7)
- at (30)
-
auth
_ cram _ md5 (11) -
auth
_ login (11) -
auth
_ plain (11) - authenticate (11)
- base64 (11)
- bmbm (11)
-
build
_ cert (11) -
build
_ self _ signed _ cert (11) - casecmp (22)
- casecmp? (16)
-
cert
_ chain (11) - civil (11)
-
clock
_ gettime (11) - code (11)
- comment (11)
- commercial (11)
-
current
_ section (11) - data (11)
-
decode
_ www _ form _ component (11) - each (11)
-
entity
_ expansion _ limit (11) -
entity
_ expansion _ text _ limit (11) -
entity
_ expansion _ text _ limit= (11) -
from
_ file _ by _ path (11) -
from
_ io (11) -
get
_ value (11) - gm (22)
- hex (11)
- inspect (22)
- intersect? (14)
- intersection (16)
- iso8601 (11)
- jd (11)
-
keep
_ alive _ timeout= (11) - key (11)
- linger (11)
- local (22)
- mktime (22)
- name (11)
- new (84)
- notify (22)
- now (11)
- nsec (11)
-
only
_ signed (11) -
only
_ trusted (11) - ordinal (11)
- parent (11)
-
random
_ bytes (11) -
random
_ number (11) - read (22)
-
remove
_ entry _ secure (11) - renew (11)
- report (11)
- result (11)
-
ruby 1
. 6 feature (11) -
rubygems
/ security (11) -
sec
_ fraction (11) - second (11)
-
second
_ fraction (11) - section (22)
- sections (22)
- secure (22)
- sequence (11)
-
set
_ comment (11) -
set
_ current _ section (11) -
sign
_ cert (11) - sizeof (11)
- sleep (22)
- struct (11)
- subsec (11)
- take (22)
- timeout (41)
- title (11)
-
to
_ a (11) -
to
_ i (11) -
to
_ json (11) -
to
_ s (11) -
trusted
_ cert _ path (11) -
tv
_ nsec (11) -
tv
_ sec (11) -
tv
_ usec (11) -
urlsafe
_ base64 (11) - usec (11)
- utc (22)
- uuid (11)
- value (11)
-
verify
_ chain (11) -
verify
_ data (11) -
verify
_ gem (11) -
verify
_ root (11) -
verify
_ signer (11) -
wait
_ writable (11) - write (22)
- xmlschema (11)
- | (11)
検索結果
先頭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 -
rubygems
/ security (6366.0) -
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
...するとそれらを作成することができます。
# gemmaster@example.com のための秘密鍵と証明書を作成します
$ gem cert --build gemmaster@example.com
あなたのコンピュータの性能にもよりますが、これには 5 秒から 10 分程度かかります。......カレントディレクトリに "gem-private_key.pem", "gem-public_cert.pem"
の二つのファイルができます。
まずは、なるべくあなただけがアクセスできる場所に "gem-private_key.pem" を移動させて
ください。 FD, CD-ROM など同じくらい安全なもの......lib2-Ruby-0.5.0.gem
data.tar.gz
data.tar.gz.sig
metadata.gz
metadata.gz.sig
さあ、署名を検証してみましょう。以下のように "-P HighSecurity" オプションを
付けて Gem をインストールしてみてください。
# install the gem with using the securit...