クラス
-
OpenSSL
:: PKCS7 :: SignerInfo (2) -
OpenSSL
:: X509 :: Name (1) -
Resolv
:: DNS (6) -
Resolv
:: DNS :: Name (1) -
Resolv
:: DNS :: Resource :: HINFO (2) -
Resolv
:: DNS :: Resource :: IN :: SRV (4) -
Resolv
:: DNS :: Resource :: IN :: WKS (2) -
Resolv
:: DNS :: Resource :: MINFO (2) -
Resolv
:: DNS :: Resource :: MX (2) -
Resolv
:: DNS :: Resource :: SOA (5) -
Resolv
:: DNS :: Resource :: TXT (2) -
Resolv
:: IPv6 (1) -
URI
:: LDAP (1)
モジュール
- Kernel (2)
キーワード
- bitmap (1)
-
check
_ signedness (2) - cpu (1)
- data (1)
- emailbx (1)
- exchange (1)
- expire (1)
- getaddress (1)
- getaddresses (1)
- getname (1)
- getnames (1)
- getresource (1)
- getresources (1)
- issuer (1)
- minimum (1)
- name (1)
- os (1)
- port (1)
- preference (1)
- priority (1)
- protocol (1)
- refresh (1)
- retry (1)
- rmailbx (1)
- serial (1)
- strings (1)
- target (1)
-
to
_ name (1) -
to
_ s (2) - weight (1)
検索結果
先頭5件
- Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil - URI
:: LDAP # dn -> String - Resolv
:: DNS # getname(address) -> Resolv :: DNS :: Name - Resolv
:: DNS # getnames(address) -> [Resolv :: DNS :: Name]
-
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (83404.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 (83404.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... -
URI
:: LDAP # dn -> String (72907.0) -
自身の Distinguished Name を文字列で返します。
自身の Distinguished Name を文字列で返します。 -
Resolv
:: DNS # getname(address) -> Resolv :: DNS :: Name (46204.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果の最初のホスト名を返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果の最初のホスト名を返します。
@param address IPアドレスを文字列、 Resolv::IPv4 のインスタンス、
Resolv::IPv6 のインスタンス、のいずれか与えます。
@raise Resolv::ResolvError ルックアップに失敗したときに発生します。 -
Resolv
:: DNS # getnames(address) -> [Resolv :: DNS :: Name] (46204.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果のホスト名リストを返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果のホスト名リストを返します。
@param address IPアドレスを文字列、 Resolv::IPv4 のインスタンス、
Resolv::IPv6 のインスタンス、のいずれか与えます。 -
Resolv
:: DNS :: Resource :: MX # exchange -> Resolv :: DNS :: Name (45904.0) -
MXのホスト名を返します。
MXのホスト名を返します。 -
Resolv
:: DNS :: Resource :: TXT # strings -> [String] (45904.0) -
TXT レコードの文字列を配列で返します。
TXT レコードの文字列を配列で返します。 -
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (36904.0) -
nameに対応するDNSリソースレコードを取得します。 最初に見つかったリソースを返します。
nameに対応するDNSリソースレコードを取得します。
最初に見つかったリソースを返します。
typeclass は以下のいずれかです。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS... -
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (36904.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
nameに対応するDNSリソースレコードを取得します。
見つかったリソース全てを配列にして返します。
typeclass は以下のいずれかです。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv:... -
Resolv
:: DNS :: Resource :: IN :: SRV # target -> Resolv :: DNS :: Name (36904.0) -
対象のホストのホスト名を返します。
対象のホストのホスト名を返します。 -
Resolv
:: DNS # getaddress(name) -> Resolv :: IPv4 | Resolv :: IPv6 (36604.0) -
ホスト名 name の IP アドレスをルックアップし、 ルックアップ結果の最初のアドレスを返します。
ホスト名 name の IP アドレスをルックアップし、
ルックアップ結果の最初のアドレスを返します。
@param name ホスト名を文字列もしくはResolv::DNS::Nameのインスタンスで与えます。
@raise Resolv::ResolvError ルックアップに失敗したときに発生します。 -
Resolv
:: DNS # getaddresses(name) -> [Resolv :: IPv4 | Resolv :: IPv6] (36604.0) -
ホスト名 name の IP アドレスをルックアップし、 ルックアップ結果のアドレスリストを返します。
ホスト名 name の IP アドレスをルックアップし、
ルックアップ結果のアドレスリストを返します。
ルックアップに失敗した場合は空の配列が返されます。
@param name ホスト名を文字列もしくはResolv::DNS::Nameのインスタンスで与えます。 -
Resolv
:: DNS :: Resource :: IN :: SRV # weight -> Integer (36604.0) -
サーバを選択するための「重み」です。
サーバを選択するための「重み」です。
Resolv::DNS::Resource::IN::SRV#priority が同じ場合に
この項目が利用されます。
重みに比例した確率でホストを選択すべきです。
返り値の範囲は 0 から 65535 までの整数です。
選択肢が一つしかない、つまり選択する必要がない場合には
この値は人間が読みやすいよう 0 にすべきです。 -
OpenSSL
:: PKCS7 :: SignerInfo # name -> OpenSSL :: X509 :: Name (27652.0) -
署名者の証明書の発行者の名前(DN)を返します。
署名者の証明書の発行者の名前(DN)を返します。
これと OpenSSL::PKCS7::SignerInfo#serial で
署名者を一意に識別します。 -
Resolv
:: DNS :: Resource :: MX # preference -> Integer (27604.0) -
このMXレコードの優先度を返します。
このMXレコードの優先度を返します。 -
Resolv
:: DNS :: Resource :: SOA # minimum -> Integer (27604.0) -
リソースレコードで TTL の値として使われる最小の秒数を 返します。
リソースレコードで TTL の値として使われる最小の秒数を
返します。 -
Resolv
:: IPv6 # to _ name -> Resolv :: DNS :: Name (18952.0) -
"h.g.f.e.d.c.b.a.ip6.arpa." という DNS 名を返します。
"h.g.f.e.d.c.b.a.ip6.arpa." という DNS 名を返します。 -
Resolv
:: DNS :: Name # to _ s -> String (18604.0) -
ドメイン名を文字列として返します。
ドメイン名を文字列として返します。
絶対パス形式であっても返される文字列には最後のドットは含まれません。 -
Resolv
:: DNS :: Resource :: HINFO # cpu -> String (18604.0) -
ホストで使われる CPU 名(ハードウェア名)を返します。
ホストで使われる CPU 名(ハードウェア名)を返します。 -
Resolv
:: DNS :: Resource :: HINFO # os -> String (18604.0) -
ホストで使われる OS 名を返します。
ホストで使われる OS 名を返します。 -
Resolv
:: DNS :: Resource :: IN :: SRV # port -> Integer (18604.0) -
対象のサービスの対象のホストにおけるポート番号を返します。
対象のサービスの対象のホストにおけるポート番号を返します。 -
Resolv
:: DNS :: Resource :: IN :: SRV # priority -> Integer (18604.0) -
ホストの優先順位を返します。
ホストの優先順位を返します。
クライアントは利用可能なホストの中で最も priority が
小さい数値のホストを利用しなければなりません。
priority が同じならば Resolv::DNS::Resource::IN::SRV#weight
で定義されるようにホストを選ぶべきです。
返り値の範囲は 0 から 65535 までの整数値です。 -
Resolv
:: DNS :: Resource :: IN :: WKS # bitmap -> String (18604.0) -
そのホストで利用可能なサービスのビットマップを返します。
そのホストで利用可能なサービスのビットマップを返します。
例えば Resolv::DNS::Resource::IN::WKS#protocol が 6 (TCP)
の場合、26番目のビットはポート25のサービス(SMTP)に対応しています。
このビットが立っているならば SMTP は利用可能であり、
そうでなければ利用できません。 -
Resolv
:: DNS :: Resource :: IN :: WKS # protocol -> Integer (18604.0) -
IPプロトコル番号を返します。
IPプロトコル番号を返します。
例えば 6 は TCP に対応します。 -
Resolv
:: DNS :: Resource :: MINFO # emailbx -> String (18604.0) -
メーリングリストもしくはメールボックスの エラーを受け取るメールボックスのドメイン名を 返します。
メーリングリストもしくはメールボックスの
エラーを受け取るメールボックスのドメイン名を
返します。 -
Resolv
:: DNS :: Resource :: MINFO # rmailbx -> String (18604.0) -
メーリングリストもしくはメールボックスの 責任者のドメイン名を返します。
メーリングリストもしくはメールボックスの
責任者のドメイン名を返します。 -
Resolv
:: DNS :: Resource :: SOA # expire -> Integer (18604.0) -
プライマリサーバから得たゾーン情報をセカンダリサーバが 何秒間有効なものとして保持するかを返します。
プライマリサーバから得たゾーン情報をセカンダリサーバが
何秒間有効なものとして保持するかを返します。 -
Resolv
:: DNS :: Resource :: SOA # refresh -> Integer (18604.0) -
プライマリサーバからの更新をセカンダリサーバがチェックする 頻度を秒単位で返します。
プライマリサーバからの更新をセカンダリサーバがチェックする
頻度を秒単位で返します。 -
Resolv
:: DNS :: Resource :: SOA # retry -> Integer (18604.0) -
セカンダリサーバがプライマリサーバからの情報更新に失敗した場合に 何秒後にリトライするかを返します。
セカンダリサーバがプライマリサーバからの情報更新に失敗した場合に
何秒後にリトライするかを返します。 -
Resolv
:: DNS :: Resource :: SOA # serial -> Integer (18604.0) -
ゾーンファイルのバージョンを返します。
ゾーンファイルのバージョンを返します。 -
Resolv
:: DNS :: Resource :: TXT # data -> String (18604.0) -
TXT レコードの最初の文字列を返します。
TXT レコードの最初の文字列を返します。 -
OpenSSL
:: PKCS7 :: SignerInfo # issuer -> OpenSSL :: X509 :: Name (18352.0) -
署名者の証明書の発行者の名前(DN)を返します。
署名者の証明書の発行者の名前(DN)を返します。
これと OpenSSL::PKCS7::SignerInfo#serial で
署名者を一意に識別します。 -
OpenSSL
:: X509 :: Name # to _ s(flags=nil) -> String (9760.0) -
DNの文字列表現を返します。
DNの文字列表現を返します。
flags には通常は以下のいずれかを渡します。
* nil
* OpenSSL::X509::Name::COMPAT
* OpenSSL::X509::Name::RFC2253
* OpenSSL::X509::Name::ONELINE
* OpenSSL::X509::Name::MULTILINE
*
例:
require 'openssl'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN...