ライブラリ
- ビルトイン (97)
- bigdecimal (11)
-
fiddle
/ import (44) - mkmf (22)
- monitor (11)
- openssl (352)
-
rubygems
/ package / tar _ output (11) -
rubygems
/ security (110) -
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 (55) -
Gem
:: Security :: Signer (55) -
Gem
:: SourceIndex (22) -
Gem
:: Specification (33) -
MonitorMixin
:: ConditionVariable (11) -
OpenSSL
:: Netscape :: SPKI (22) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: PKCS7 (77) -
OpenSSL
:: PKCS7 :: SignerInfo (44) -
OpenSSL
:: PKey :: DSA (22) -
OpenSSL
:: PKey :: EC (22) -
OpenSSL
:: PKey :: PKey (22) -
OpenSSL
:: X509 :: CRL (22) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Request (33) -
OpenSSL
:: X509 :: Store (22) -
OpenSSL
:: X509 :: StoreContext (22) - 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)
- key (11)
- key= (11)
- kill (12)
-
kill
_ job (6) - name (11)
-
only
_ signed (11) -
only
_ signed= (11) - purpose= (22)
- serial (11)
- signal (22)
- signaled? (11)
-
signature
_ algorithm (33) -
signed
_ time (11) - signers (11)
-
signing
_ key (11) -
signing
_ key= (11) - signm (11)
- signo (11)
- strftime (11)
- struct (11)
- syssign (11)
- sysverify (11)
- trust= (22)
- union (11)
- verify (44)
-
verify
_ gem (11) -
verify
_ signer (11) -
verify
_ signer= (11) - yield (11)
検索結果
先頭5件
- OpenSSL
:: OCSP :: BasicResponse # sign(signer _ cert , signer _ key , certs = [] , flags=0) -> self - Gem
:: Security :: Signer # sign(data) - OpenSSL
:: OCSP :: Request # sign(signer _ cert , signer _ key , certs=nil , flags=nil) -> self - BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 - OpenSSL
:: Netscape :: SPKI # sign(key , digest) -> self
-
OpenSSL
:: OCSP :: BasicResponse # sign(signer _ cert , signer _ key , certs = [] , flags=0) -> self (27402.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) (27202.0) -
自身に設定済みのダイジェストアルゴリズムを用いて与えられたデータに署名します。
自身に設定済みのダイジェストアルゴリズムを用いて与えられたデータに署名します。
@param data 署名対象のデータを指定します。 -
OpenSSL
:: OCSP :: Request # sign(signer _ cert , signer _ key , certs=nil , flags=nil) -> self (24402.0) -
Request オブジェクトに署名をします。
...を付加することができます。
@param signer_cert 署名者の証明書(OpenSSL::X509::Certificate オブジェクト)
@param signer_key 証明に用いる秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param certs 添付する証明書(OpenSSL::X509::Certificate オブジェクトの......配列)
@param flags フラグ(整数)
@raise OpenSSL::OCSP::OCSPError 署名に失敗した場合に発生します... -
BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 (24298.0) -
自身の符号等の性質に応じて、Integer を返します。
...じて、Integer を返します。
符号が正であれば正の整数を返し、負であれば負の整数を返し、NaN であれば 0 を返します。
NaN であれば、 0。 BigDecimal::SIGN_NaN と同じです。
+0 であれば、 1。 BigDecimal::SIGN_POSITIVE_ZER......mal::SIGN_NEGATIVE_ZERO と同じです。
有限の正の値 であれば、 2。 BigDecimal::SIGN_POSITIVE_FINITE と同じです。
有限の負の値 であれば、-2。 BigDecimal::SIGN_NEGATIVE_FINITE と同じです。
+Infinity であれば、 3。 BigDecimal::SIGN_POSITIVE_INFINITE......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 (24202.0) -
SPKI オブジェクトに署名をします。
...key 署名に使う秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param digest 署名に使うダイジェスト関数(文字列もしくは OpenSSL::Digest オブジェクト)
@raise OpenSSL::Netscape::SPKIError 署名に失敗した場合に発生します
@see OpenSSL::Netscape::SPKI#verify... -
OpenSSL
:: PKey :: PKey # sign(digest , data) -> String (24202.0) -
秘密鍵で data に署名し、署名の文字列を返します。
...列で指定します。
DSA で署名をする場合はハッシュ関数には "dss1" を指定してください。
@param digest 利用するハッシュ関数の名前
@param data 署名する文字列
@raise OpenSSL::PKey::PKeyError 署名時にエラーが起きた場合に発生します... -
OpenSSL
:: X509 :: CRL # sign(pkey , digest) -> self (24202.0) -
CRL に秘密鍵で署名します。
...CRL に秘密鍵で署名します。
@param pkey 秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param digest ハッシュアルゴリズム
@raise OpenSSL::X509::CRLError 署名に失敗した場合に発生します... -
OpenSSL
:: X509 :: Certificate # sign(pkey , digest) -> self (24202.0) -
証明書に署名します。
証明書に署名します。
DSA で署名する場合は digest は "dss1" でなければなりません。
@param pkey 発行者(issuer)の秘密鍵
@param digest ハッシュ関数を表す文字列 -
OpenSSL
:: X509 :: Request # sign(key , digest) -> self (24202.0) -
証明書署名要求に秘密鍵で署名をします。
...秘密鍵で署名されます。
@param key 秘密鍵(OpenSSL::PKey::PKey のサブクラスのオブジェクト)
@param digest ハッシュ関数を表す文字列("sha1" など)
@raise OpenSSL::X509::RequestError 署名に失敗した場合に発生します
@see OpenSSL::X509::Request#verify... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (21701.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......F_', 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 preprocesso......r macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done....