種類
ライブラリ
- ビルトイン (250)
- bigdecimal (96)
- etc (12)
-
fiddle
/ import (48) -
minitest
/ unit (1) - mkmf (24)
- monitor (12)
- openssl (744)
-
rubygems
/ package (24) -
rubygems
/ package / tar _ output (36) -
rubygems
/ security (168) -
rubygems
/ source _ index (24) -
rubygems
/ specification (36) - shell (6)
-
shell
/ process-controller (6) -
shell
/ system-command (6) - socket (24)
- thread (2)
クラス
- BigDecimal (96)
-
Gem
:: Package :: TarOutput (36) -
Gem
:: Security :: Policy (60) -
Gem
:: Security :: Signer (72) -
Gem
:: SourceIndex (24) -
Gem
:: Specification (36) -
MiniTest
:: Unit :: TestCase (1) -
MonitorMixin
:: ConditionVariable (12) -
OpenSSL
:: Netscape :: SPKI (24) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: PKCS7 (192) -
OpenSSL
:: PKCS7 :: SignerInfo (60) -
OpenSSL
:: PKey :: DSA (24) -
OpenSSL
:: PKey :: EC (24) -
OpenSSL
:: PKey :: PKey (24) -
OpenSSL
:: X509 :: CRL (24) -
OpenSSL
:: X509 :: Certificate (24) -
OpenSSL
:: X509 :: Request (36) -
OpenSSL
:: X509 :: Store (24) -
OpenSSL
:: X509 :: StoreContext (24) - Proc (48)
-
Process
:: Status (12) - Shell (6)
-
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - SignalException (60)
- Socket (12)
-
Thread
:: ConditionVariable (12) - Time (12)
モジュール
- Etc (12)
-
Fiddle
:: Importer (48) -
Gem
:: Package (24) -
Gem
:: Security (24) - Kernel (48)
-
OpenSSL
:: OCSP (12) -
OpenSSL
:: X509 (144) - Process (12)
- Signal (48)
-
Socket
:: Constants (12)
キーワード
- === (12)
- BINARY (12)
- DETACHED (12)
- DH (12)
- DSA (12)
- FIX2UINT (12)
- FIX2ULONG (12)
-
MSG
_ NOSIGNAL (24) - NOATTR (12)
- NOCASIGN (12)
- NOCERTS (12)
- NOSMIMECAP (12)
- NUM2UINT (12)
- NUM2ULONG (12)
- NUM2USHORT (12)
- PKey (12)
-
PURPOSE
_ CRL _ SIGN (12) -
PURPOSE
_ SMIME _ SIGN (12) - RSA (12)
- Request (12)
-
SC
_ REALTIME _ SIGNALS (12) -
SIGN
_ NEGATIVE _ FINITE (12) -
SIGN
_ NEGATIVE _ INFINITE (12) -
SIGN
_ NEGATIVE _ ZERO (12) -
SIGN
_ NaN (12) -
SIGN
_ POSITIVE _ FINITE (12) -
SIGN
_ POSITIVE _ INFINITE (12) -
SIGN
_ POSITIVE _ ZERO (12) -
SUPPORTS
_ INFO _ SIGNAL (1) - Signal (12)
- SignalException (12)
- Signer (24)
- SignerInfo (12)
- TEXT (12)
-
TRUST
_ OBJECT _ SIGN (12) -
TRUST
_ OCSP _ SIGN (12) - UINT2NUM (12)
- ULL2NUM (12)
- ULONG2NUM (12)
-
V
_ ERR _ CERT _ SIGNATURE _ FAILURE (12) -
V
_ ERR _ CRL _ SIGNATURE _ FAILURE (12) -
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (12) -
V
_ ERR _ KEYUSAGE _ NO _ CERTSIGN (12) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (12) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE (12) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CRL _ SIGNATURE (12) -
V
_ ERR _ UNABLE _ TO _ VERIFY _ LEAF _ SIGNATURE (12) - [] (12)
-
add
_ certificate (12) -
add
_ signatures (12) -
add
_ signer (12) - assign (12)
-
assign
_ defaults (12) -
assign
_ in _ cond (12) - assignable (12)
- bigdecimal (12)
- bind (12)
-
build
_ self _ signed _ cert (12) - call (12)
-
cert
_ chain (12) -
cert
_ chain= (12) - certificates= (12)
-
check
_ signedness (24) - detached (12)
- detached? (12)
-
dsa
_ sign _ asn1 (12) -
dsa
_ verify _ asn1 (12) - encrypt (12)
- extern (12)
-
gem
_ signature (12) -
index
_ signature (12) - issuer (12)
- key (12)
- key= (12)
- kill (24)
-
kill
_ job (6) - list (12)
- massign (12)
- name (12)
- new (72)
-
node
_ assign (12) -
only
_ signed (12) -
only
_ signed= (12) - open (24)
- openssl (12)
- pack (12)
- purpose= (24)
-
rb
_ const _ assign (12) -
rb
_ quad _ unpack (1) -
rb
_ reserved _ word (12) -
rb
_ thread _ signal _ raise (12) -
rb
_ uint _ new (12) -
rubygems
/ commands / cert _ command (12) -
rubygems
/ security (12) - serial (12)
-
sign
_ cert (12) - signal (24)
- signaled? (12)
- signame (12)
-
signature
_ algorithm (36) -
signed
_ time (12) - signers (12)
-
signing
_ key (12) -
signing
_ key= (12) - signm (12)
- signo (12)
- strftime (12)
- struct (12)
- syssign (12)
- sysverify (12)
- trap (48)
- trust= (24)
- union (12)
- verify (48)
-
verify
_ gem (12) -
verify
_ signer (12) -
verify
_ signer= (12) -
write
_ smime (12) - yield (12)
検索結果
先頭5件
-
OpenSSL
:: X509 :: Certificate # sign(pkey , digest) -> self (18101.0) -
証明書に署名します。
証明書に署名します。
DSA で署名する場合は digest は "dss1" でなければなりません。
@param pkey 発行者(issuer)の秘密鍵
@param digest ハッシュ関数を表す文字列 -
OpenSSL
:: X509 :: Request # sign(key , digest) -> self (18101.0) -
証明書署名要求に秘密鍵で署名をします。
証明書署名要求に秘密鍵で署名をします。
通常、証明書署名要求は申請者の秘密鍵で署名されます。
@param key 秘密鍵(OpenSSL::PKey::PKey のサブクラスのオブジェクト)
@param digest ハッシュ関数を表す文字列("sha1" など)
@raise OpenSSL::X509::RequestError 署名に失敗した場合に発生します
@see OpenSSL::X509::Request#verify -
Signal
. # signame(signo) -> String (9200.0) -
引数で指定されたシグナル番号をシグナル名に変換して返します。
...引数で指定されたシグナル番号をシグナル名に変換して返します。
Signal.trap("INT") { |signo| puts Signal.signame(signo) }
Process.kill("INT", 0)
# => INT
@see Signal.#list... -
Signal
. # signame(signo) -> String | nil (9200.0) -
引数で指定されたシグナル番号をシグナル名に変換して返します。 対応するシグナル番号が存在しない場合は nil を返します。
...引数で指定されたシグナル番号をシグナル名に変換して返します。
対応するシグナル番号が存在しない場合は nil を返します。
Signal.trap("INT") { |signo| puts Signal.signame(signo) }
Process.kill("INT", 0)
# => INT
@see Signal.#list... -
OpenSSL
:: PKCS7 :: SignerInfo # signed _ time -> Time (9100.0) -
その署名者が署名した時刻を返します。
その署名者が署名した時刻を返します。 -
SignalException
# signm -> String (9100.0) -
self.message のエイリアスです。
...self.message のエイリアスです。
//emlist[例][ruby]{
begin
Process.kill('HUP', Process.pid)
sleep
rescue SignalException => e
puts e.signm # => SIGHUP
end
//}... -
SignalException
# signo -> Integer (9100.0) -
self のシグナル番号を返します。
...self のシグナル番号を返します。
//emlist[例][ruby]{
p Signal.signame(1) # => "HUP"
begin
Process.kill('HUP', Process.pid)
sleep
rescue SignalException => e
p e.signo # => 1
end
//}... -
Gem
:: Security . sign _ cert(cert , signing _ key , signing _ cert , options = {}) -> OpenSSL :: X509 :: Certificate (6301.0) -
与えられた署名用の鍵と証明書を用いて証明書に署名します。
...明書を用いて証明書に署名します。
@param cert 署名する証明書を指定します。
@param signing_key 署名にしようする鍵を指定します。
@param signing_cert 署名に使用する証明書を指定します。
@param options オプションを指定します。... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (6300.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...eturns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_OF......ype+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (6300.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...eturns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_OF......ype+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int...