種類
- 定数 (29)
- インスタンスメソッド (8)
- モジュール関数 (1)
- ライブラリ (1)
ライブラリ
- ビルトイン (2)
- bigdecimal (8)
- etc (1)
- mkmf (2)
- openssl (20)
- shell (1)
-
shell
/ process-controller (1) -
shell
/ system-command (1) - socket (2)
クラス
- BigDecimal (8)
-
OpenSSL
:: PKCS7 (6) -
OpenSSL
:: PKCS7 :: SignerInfo (1) - Shell (1)
-
Shell
:: ProcessController (1) -
Shell
:: SystemCommand (1) - SignalException (1)
- Socket (1)
モジュール
- Etc (1)
- Kernel (2)
-
OpenSSL
:: OCSP (1) -
OpenSSL
:: X509 (12) - Process (1)
-
Socket
:: Constants (1)
キーワード
- BINARY (1)
- DETACHED (1)
-
MSG
_ NOSIGNAL (2) - NOATTR (1)
- NOCASIGN (1)
- NOCERTS (1)
- NOSMIMECAP (1)
-
PURPOSE
_ CRL _ SIGN (1) -
PURPOSE
_ SMIME _ SIGN (1) -
SC
_ REALTIME _ SIGNALS (1) -
SIGN
_ NEGATIVE _ FINITE (1) -
SIGN
_ NEGATIVE _ INFINITE (1) -
SIGN
_ NEGATIVE _ ZERO (1) -
SIGN
_ NaN (1) -
SIGN
_ POSITIVE _ FINITE (1) -
SIGN
_ POSITIVE _ INFINITE (1) -
SIGN
_ POSITIVE _ ZERO (1) - TEXT (1)
-
TRUST
_ OBJECT _ SIGN (1) -
TRUST
_ OCSP _ SIGN (1) -
V
_ ERR _ CERT _ SIGNATURE _ FAILURE (1) -
V
_ ERR _ CRL _ SIGNATURE _ FAILURE (1) -
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (1) -
V
_ ERR _ KEYUSAGE _ NO _ CERTSIGN (1) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (1) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE (1) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CRL _ SIGNATURE (1) -
V
_ ERR _ UNABLE _ TO _ VERIFY _ LEAF _ SIGNATURE (1) - bigdecimal (1)
-
check
_ signedness (2) - kill (3)
-
kill
_ job (1) - serial (1)
- signo (1)
検索結果
先頭5件
- BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 - SignalException
# signo -> Integer - Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil - BigDecimal
:: SIGN _ NEGATIVE _ FINITE -> Integer
-
BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 (54640.0) -
自身の符号等の性質に応じて、Integer を返します。
自身の符号等の性質に応じて、Integer を返します。
符号が正であれば正の整数を返し、負であれば負の整数を返し、NaN であれば 0 を返します。
NaN であれば、 0。 BigDecimal::SIGN_NaN と同じです。
+0 であれば、 1。 BigDecimal::SIGN_POSITIVE_ZERO と同じです。
-0 であれば、-1。 BigDecimal::SIGN_NEGATIVE_ZERO と同じです。
有限の正の値 であれば、 2。 BigDecimal::SIGN_POSITIVE_FINITE ... -
SignalException
# signo -> Integer (27604.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 (18997.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... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (18997.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... -
BigDecimal
:: SIGN _ NEGATIVE _ FINITE -> Integer (18655.0) -
負の値に対応する BigDecimal#sign の値を返します。
負の値に対応する BigDecimal#sign の値を返します。 -
BigDecimal
:: SIGN _ NEGATIVE _ INFINITE -> Integer (18655.0) -
負の無限大に対応する BigDecimal#sign の値を返します。
負の無限大に対応する BigDecimal#sign の値を返します。 -
BigDecimal
:: SIGN _ NEGATIVE _ ZERO -> Integer (18655.0) -
負の 0 に対応する BigDecimal#sign の値を返します。
負の 0 に対応する BigDecimal#sign の値を返します。 -
BigDecimal
:: SIGN _ NaN -> Integer (18655.0) -
NaN に対応する BigDecimal#sign の値を返します。
NaN に対応する BigDecimal#sign の値を返します。 -
BigDecimal
:: SIGN _ POSITIVE _ FINITE -> Integer (18655.0) -
正の値に対応する BigDecimal#sign の値を返します。
正の値に対応する BigDecimal#sign の値を返します。 -
BigDecimal
:: SIGN _ POSITIVE _ INFINITE -> Integer (18655.0) -
正の無限大に対応する BigDecimal#sign の値を返します。
正の無限大に対応する BigDecimal#sign の値を返します。 -
BigDecimal
:: SIGN _ POSITIVE _ ZERO -> Integer (18655.0) -
正の 0 に対応する BigDecimal#sign の値を返します。
正の 0 に対応する BigDecimal#sign の値を返します。 -
OpenSSL
:: X509 :: PURPOSE _ CRL _ SIGN -> Integer (18607.0) -
証明書が CRL の署名をするのに利用可能かを チェックすることを意味します。
証明書が CRL の署名をするのに利用可能かを
チェックすることを意味します。
OpenSSL::X509::Store#purpose= や
OpenSSL::X509::StoreContext#purpose= で設定し、
OpenSSL::X509::Store#verify や
OpenSSL::X509::StoreContext#verify で
このことを確認します。 -
OpenSSL
:: X509 :: PURPOSE _ SMIME _ SIGN -> Integer (18607.0) -
証明書が S/MIME の署名をするのに使えるか チェックすることを意味します。
証明書が
S/MIME の署名をするのに使えるか
チェックすることを意味します。
OpenSSL::X509::Store#purpose= や
OpenSSL::X509::StoreContext#purpose= で設定し、
OpenSSL::X509::Store#verify や
OpenSSL::X509::StoreContext#verify で
このことを確認します。 -
OpenSSL
:: X509 :: TRUST _ OBJECT _ SIGN -> Integer (18607.0) -
@todo
@todo -
OpenSSL
:: X509 :: TRUST _ OCSP _ SIGN -> Integer (18607.0) -
@todo
@todo -
OpenSSL
:: OCSP :: NOCASIGN -> Integer (18604.0) -
このフラグ定数は使われていません。
このフラグ定数は使われていません。 -
OpenSSL
:: X509 :: V _ ERR _ CERT _ SIGNATURE _ FAILURE -> Integer (18604.0) -
証明書になされた署名の検証に失敗したことを意味します。
証明書になされた署名の検証に失敗したことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
OpenSSL
:: X509 :: V _ ERR _ CRL _ SIGNATURE _ FAILURE -> Integer (18604.0) -
CRL になされた署名の検証に失敗したことを意味します。
CRL になされた署名の検証に失敗したことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
OpenSSL
:: X509 :: V _ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT -> Integer (18604.0) -
検証している証明書がルート CA (自己署名証明書)であり、 それが信頼されている証明書でないことを意味します。
検証している証明書がルート CA (自己署名証明書)であり、
それが信頼されている証明書でないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths -
OpenSSL
:: X509 :: V _ ERR _ KEYUSAGE _ NO _ CERTSIGN -> Integer (18604.0) -
署名できない証明書で署名しようしとたことを意味します。
署名できない証明書で署名しようしとたことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
OpenSSL
:: X509 :: V _ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN -> Integer (18604.0) -
証明書チェインのルート CA (自己署名証明書)が 信頼されている証明書でないことを意味します。
証明書チェインのルート CA (自己署名証明書)が
信頼されている証明書でないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE -> Integer (18604.0) -
証明書の署名が復号できないことを意味します。
証明書の署名が復号できないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ DECRYPT _ CRL _ SIGNATURE -> Integer (18604.0) -
CRL の署名が復号できないことを意味します。
CRL の署名が復号できないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ VERIFY _ LEAF _ SIGNATURE -> Integer (18604.0) -
証明書チェインにある証明書がただ一つでその証明書が 自己署名証明書でないことを意味します。
証明書チェインにある証明書がただ一つでその証明書が
自己署名証明書でないことを意味します。 -
Socket
:: Constants :: MSG _ NOSIGNAL -> Integer (18604.0) -
Do not generate SIGPIPE
Do not generate SIGPIPE
BasicSocket#send, BasicSocket#sendmsg の
flags 引数に用います。
@see send(2linux), send(2freebsd) -
Socket
:: MSG _ NOSIGNAL -> Integer (18604.0) -
Do not generate SIGPIPE
Do not generate SIGPIPE
BasicSocket#send, BasicSocket#sendmsg の
flags 引数に用います。
@see send(2linux), send(2freebsd) -
Etc
:: SC _ REALTIME _ SIGNALS -> Integer (9991.0) -
Etc.#sysconf の引数に指定します。
Etc.#sysconf の引数に指定します。
詳細は sysconf(3) を参照してください。 -
OpenSSL
:: PKCS7 :: SignerInfo # serial -> Integer (9304.0) -
署名者の証明書の識別番号を返します。
署名者の証明書の識別番号を返します。
これと OpenSSL::PKCS7::SignerInfo#issuer で
署名者を一意に識別します。 -
Process
. # kill(signal , pid , *rest) -> Integer (604.0) -
pid で指定されたプロセスにシグナルを送ります。signal はシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。 全てのシグナル送信に成功した場合、指定した pid の総数を返します。
pid で指定されたプロセスにシグナルを送ります。signal
はシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。
全てのシグナル送信に成功した場合、指定した pid の総数を返します。
@param signal シグナルをシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、プロセスではなくプロセスグループにシグナルを送ります。
@param pid シグナルを送りたいプロセスのプロセス ID を整数で指定します。ただし、0 以下の場合は以下のような意味になります。
* 0 ... -
Shell
# kill(signal , job) -> Integer (604.0) -
@todo
@todo
ジョブにシグナルを送ります。
@param signal
@param job -
Shell
:: ProcessController # kill _ job(signal , command) -> Integer (604.0) -
指定されたコマンドにシグナルを送ります。
指定されたコマンドにシグナルを送ります。
@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。
@param command コマンドを指定します。
@see Process.#kill -
Shell
:: SystemCommand # kill(signal) -> Integer (604.0) -
自身のプロセスにシグナルを送ります。
自身のプロセスにシグナルを送ります。
@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。
@see Process.#kill -
OpenSSL
:: PKCS7 :: BINARY -> Integer (322.0) -
MIME canonical format への変換を行いません。
MIME canonical format への変換を行いません。
OpenSSL::PKCS7.sign、OpenSSL::PKCS7.encrypt
で利用可能なフラグです。 -
OpenSSL
:: PKCS7 :: DETACHED -> Integer (322.0) -
平文に署名を付ける形式 (multipart/signed) で行います。
平文に署名を付ける形式 (multipart/signed) で行います。
OpenSSL::PKCS7.sign、OpenSSL::PKCS7.write_smime
で利用可能なフラグです。 -
OpenSSL
:: PKCS7 :: NOATTR -> Integer (322.0) -
PKCS#7 autenticatedAttributes(署名した時間などの情報) を省略します。
PKCS#7 autenticatedAttributes(署名した時間などの情報)
を省略します。
OpenSSL::PKCS7.sign で利用可能なフラグです。 -
OpenSSL
:: PKCS7 :: NOCERTS -> Integer (322.0) -
署名者の証明書を署名に含めません。送り先がすでに証明書をもっている場合 など、他の方法で証明書を手に入れることができる場合に データ量を減らすために用います。
署名者の証明書を署名に含めません。送り先がすでに証明書をもっている場合
など、他の方法で証明書を手に入れることができる場合に
データ量を減らすために用います。
OpenSSL::PKCS7.sign で利用可能なフラグです。 -
OpenSSL
:: PKCS7 :: NOSMIMECAP -> Integer (322.0) -
署名者が使用可能な暗号アルゴリズムの情報など(SMIMECapabilities)を省略します。
署名者が使用可能な暗号アルゴリズムの情報など(SMIMECapabilities)を省略します。
OpenSSL::PKCS7.sign で利用可能なフラグです。 -
OpenSSL
:: PKCS7 :: TEXT -> Integer (322.0) -
text/plain タイプの MIME ヘッダーを取り扱います。
text/plain タイプの MIME ヘッダーを取り扱います。
OpenSSL::PKCS7.sign, OpenSSL::PKCS7.write_smime,
OpenSSL::PKCS7#verify,
OpenSSL::PKCS7.encrypt, OpenSSL::PKCS7#decrypt
で利用可能なフラグです。 -
bigdecimal (73.0)
-
bigdecimal は浮動小数点数演算ライブラリです。 任意の精度で 10 進表現された浮動小数点数を扱えます。
bigdecimal は浮動小数点数演算ライブラリです。
任意の精度で 10 進表現された浮動小数点数を扱えます。
//emlist[][ruby]{
require 'bigdecimal'
a = BigDecimal("0.123456789123456789")
b = BigDecimal("123456.78912345678", 40)
print a + b # => 0.123456912580245903456789e6
//}
一般的な 10 進数の計算でも有用です。2 進数の浮動小数点演算には微小な誤
差があるのに対し、BigDecimal では正確な値を得る事がで...