ライブラリ
- ビルトイン (97)
- bigdecimal (11)
-
fiddle
/ import (44) - mkmf (22)
- monitor (11)
- openssl (253)
-
rubygems
/ package / tar _ output (11) -
rubygems
/ security (66) -
rubygems
/ source _ index (22) -
rubygems
/ specification (33) - shell (6)
-
shell
/ process-controller (6) -
shell
/ system-command (6) - thread (2)
クラス
- BigDecimal (11)
-
Gem
:: Package :: TarOutput (11) -
Gem
:: Security :: Policy (33) -
Gem
:: Security :: Signer (33) -
Gem
:: SourceIndex (22) -
Gem
:: Specification (33) -
MonitorMixin
:: ConditionVariable (11) -
OpenSSL
:: Netscape :: SPKI (22) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: PKCS7 (66) -
OpenSSL
:: PKCS7 :: SignerInfo (33) -
OpenSSL
:: PKey :: DSA (22) -
OpenSSL
:: PKey :: EC (22) -
OpenSSL
:: PKey :: PKey (22) -
OpenSSL
:: X509 :: CRL (11) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Request (11) - Proc (44)
-
Process
:: Status (11) - Shell (6)
-
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - SignalException (22)
-
Thread
:: ConditionVariable (11) - Time (11)
モジュール
-
Fiddle
:: Importer (44) - Kernel (22)
キーワード
- === (11)
- [] (11)
-
add
_ certificate (11) -
add
_ signatures (11) -
add
_ signer (11) -
assign
_ defaults (11) - bind (11)
- call (11)
-
cert
_ chain (11) -
cert
_ chain= (11) - certificates= (11)
-
check
_ signedness (22) - detached (11)
- detached? (11)
-
dsa
_ sign _ asn1 (11) -
dsa
_ verify _ asn1 (11) - extern (11)
-
gem
_ signature (11) -
index
_ signature (11) - issuer (11)
- kill (12)
-
kill
_ job (6) - name (11)
-
only
_ signed= (11) - serial (11)
- signal (22)
- signaled? (11)
-
signature
_ algorithm (33) -
signing
_ key (11) -
signing
_ key= (11) - signm (11)
- signo (11)
- strftime (11)
- struct (11)
- syssign (11)
- sysverify (11)
- union (11)
- verify (33)
-
verify
_ gem (11) -
verify
_ signer= (11) - yield (11)
検索結果
先頭5件
-
OpenSSL
:: OCSP :: BasicResponse # sign(signer _ cert , signer _ key , certs = [] , flags=0) -> self (30502.0) -
Response に署名します。
...Response に署名します。
OCSP レスポンダ(もしくは CA)はレスポンスに署名をすることで、
レスポンスの内容を保証します。
flags には以下の値の OR を渡すことができます。
* OpenSSL::OCSP::NOTIME
* OpenSSL::OCSP::RESPID_KEY
* OpenSSL::O......CSP::NOCERTS
certs に証明書の配列を渡すことで、この署名を検証するために
必要となる別の証明書を付加することができます。
@param signer_cert 署名者の証明書(OpenSSL::X509::Certificate オブジェクト)
@param signer_key 証明に用いる秘密......鍵(OpenSSL::PKey::PKey オブジェクト)
@param certs 添付する証明書(OpenSSL::X509::Certificate オブジェクトの配列)
@param flags フラグ(整数)... -
Gem
:: Security :: Signer # sign(data) (27302.0) -
自身に設定済みのダイジェストアルゴリズムを用いて与えられたデータに署名します。
...自身に設定済みのダイジェストアルゴリズムを用いて与えられたデータに署名します。
@param data 署名対象のデータを指定します。... -
BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 (27298.0) -
自身の符号等の性質に応じて、Integer を返します。
...じて、Integer を返します。
符号が正であれば正の整数を返し、負であれば負の整数を返し、NaN であれば 0 を返します。
NaN であれば、 0。 BigDecimal::SIGN_NaN と同じです。
+0 であれば、 1。 BigDecimal::SIGN_POSITIVE_ZER......cimal::SIGN_NEGATIVE_ZERO と同じです。
有限の正の値 であれば、 2。 BigDecimal::SIGN_POSITIVE_FINITE と同じです。
有限の負の値 であれば、-2。 BigDecimal::SIGN_NEGATIVE_FINITE と同じです。
+Infinity であれば、 3。 BigDecimal::SIGN_POSITIVE_INFINIT......Infinity であれば、-3。 BigDecimal::SIGN_NEGATIVE_INFINITE と同じです。
BigDecimal は、 0 であっても、+ か - の符号を持つことに注意して下さい。
(「lib:bigdecimal#internal_structure」を参照)
//emlist[][ruby]{
require "bigdecimal"
p BigDecimal("NaN").sign... -
OpenSSL
:: Netscape :: SPKI # sign(key , digest) -> self (27202.0) -
SPKI オブジェクトに署名をします。
...@param key 署名に使う秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param digest 署名に使うダイジェスト関数(文字列もしくは OpenSSL::Digest オブジェクト)
@raise OpenSSL::Netscape::SPKIError 署名に失敗した場合に発生します
@see OpenSSL::Netscape::SPKI... -
OpenSSL
:: X509 :: Certificate # sign(pkey , digest) -> self (27202.0) -
証明書に署名します。
...証明書に署名します。
DSA で署名する場合は digest は "dss1" でなければなりません。
@param pkey 発行者(issuer)の秘密鍵
@param digest ハッシュ関数を表す文字列... -
OpenSSL
:: OCSP :: Request # sign(signer _ cert , signer _ key , certs=nil , flags=nil) -> self (24502.0) -
Request オブジェクトに署名をします。
...param signer_cert 署名者の証明書(OpenSSL::X509::Certificate オブジェクト)
@param signer_key 証明に用いる秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param certs 添付する証明書(OpenSSL::X509::Certificate オブジェクトの配列)
@param flags フラグ(整数)
@rai......se OpenSSL::OCSP::OCSPError 署名に失敗した場合に発生します... -
OpenSSL
:: PKey :: PKey # sign(digest , data) -> String (24302.0) -
秘密鍵で data に署名し、署名の文字列を返します。
...密鍵で data に署名し、署名の文字列を返します。
digest は利用するハッシュ関数の名前を "sha256" や "md5"
といった文字列で指定します。
DSA で署名をする場合はハッシュ関数には "dss1" を指定してください。
@param digest 利用......するハッシュ関数の名前
@param data 署名する文字列
@raise OpenSSL::PKey::PKeyError 署名時にエラーが起きた場合に発生します... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (21849.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.
...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_O......ype+
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.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (21849.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.
...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_O......ype+
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.... -
Gem
:: SourceIndex # index _ signature -> String (21301.0) -
ソースインデックスの SHA256 ダイジェストを返します。
...ソースインデックスの SHA256 ダイジェストを返します。
この値はインデックスが変更されると変化します。...