ライブラリ
- ビルトイン (106)
- bigdecimal (12)
-
fiddle
/ import (48) - mkmf (24)
- monitor (12)
- openssl (384)
-
rubygems
/ package / tar _ output (12) -
rubygems
/ security (120) -
rubygems
/ source _ index (24) -
rubygems
/ specification (36) - shell (6)
-
shell
/ process-controller (6) -
shell
/ system-command (6) - thread (2)
クラス
- BigDecimal (12)
-
Gem
:: Package :: TarOutput (12) -
Gem
:: Security :: Policy (60) -
Gem
:: Security :: Signer (60) -
Gem
:: SourceIndex (24) -
Gem
:: Specification (36) -
MonitorMixin
:: ConditionVariable (12) -
OpenSSL
:: Netscape :: SPKI (24) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: PKCS7 (84) -
OpenSSL
:: PKCS7 :: SignerInfo (48) -
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 (24)
-
Thread
:: ConditionVariable (12) - Time (12)
モジュール
-
Fiddle
:: Importer (48) - Kernel (24)
キーワード
- === (12)
- [] (12)
-
add
_ certificate (12) -
add
_ signatures (12) -
add
_ signer (12) -
assign
_ defaults (12) - bind (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) - extern (12)
-
gem
_ signature (12) -
index
_ signature (12) - issuer (12)
- key (12)
- key= (12)
- kill (12)
-
kill
_ job (6) - name (12)
-
only
_ signed (12) -
only
_ signed= (12) - purpose= (24)
- serial (12)
- signal (24)
- signaled? (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)
- trust= (24)
- union (12)
- verify (48)
-
verify
_ gem (12) -
verify
_ signer (12) -
verify
_ signer= (12) - yield (12)
検索結果
先頭5件
-
OpenSSL
:: X509 :: Request # sign(key , digest) -> self (18102.0) -
証明書署名要求に秘密鍵で署名をします。
証明書署名要求に秘密鍵で署名をします。
通常、証明書署名要求は申請者の秘密鍵で署名されます。
@param key 秘密鍵(OpenSSL::PKey::PKey のサブクラスのオブジェクト)
@param digest ハッシュ関数を表す文字列("sha1" など)
@raise OpenSSL::X509::RequestError 署名に失敗した場合に発生します
@see OpenSSL::X509::Request#verify -
OpenSSL
:: PKCS7 :: SignerInfo # signed _ time -> Time (9101.0) -
その署名者が署名した時刻を返します。
その署名者が署名した時刻を返します。 -
SignalException
# signm -> String (9101.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 (9101.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
//}... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (6301.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 (6301.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... -
OpenSSL
:: PKCS7 # signers -> [OpenSSL :: PKCS7 :: SignerInfo] (6201.0) -
メッセージの署名者を表す OpenSSL::PKCS7::SignerInfo オブジェクトの 配列を返します。
...メッセージの署名者を表す OpenSSL::PKCS7::SignerInfo オブジェクトの
配列を返します。
これはメッセージを署名した場合にのみ意味があります。... -
OpenSSL
:: PKey :: DSA # syssign(data) -> String (6107.0) -
自身で data に署名をし、 DER 形式の文字列で署名を返します。
...自身で data に署名をし、 DER 形式の文字列で署名を返します。
data は適切なハッシュ関数で計算されたダイジェストであると仮定
しています。
通常は OpenSSL::PKey::PKey#sign を使い、署名をすべきです。
@param data 署名の対象... -
OpenSSL
:: PKey :: EC # dsa _ sign _ asn1(data) -> String (6102.0) -
秘密鍵を用い、data に ECDSA で署名します。
秘密鍵を用い、data に ECDSA で署名します。
結果は文字列として返します。
data のダイジェストを取る処理はこのメソッドに含まれていません。
自身で適当なダイジェストを取る必要があります。
@param data 署名対象のデータ(文字列)
@raise OpenSSL::PKey::ECError EC オブジェクトが秘密鍵を保持していない場合、
もしくは署名に失敗した場合に発生します
@see OpenSSL::PKey::EC#dsa_verify_asn1