るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
29件ヒット [1-29件を表示] (0.165秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. openssl n
  5. openssl n=

検索結果

URI::LDAP#dn -> String (81607.0)

自身の Distinguished Name を文字列で返します。

自身の Distinguished Name を文字列で返します。

Kernel#check_signedness(type, headers = nil, opts = nil) -> "signed" | "unsigned" | nil (64804.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 (64804.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...

OpenSSL::SSL::SSLContext#options=(options) (46222.0)

オプションを設定します。

オプションを設定します。

以下の値の OR で指定します。
* OpenSSL::SSL::OP_ALL
* OpenSSL::SSL::OP_CIPHER_SERVER_PREFERENCE
* OpenSSL::SSL::OP_EPHEMERAL_RSA
* OpenSSL::SSL::OP_NETSCAPE_CA_DN_BUG
* OpenSSL::SSL::OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
* OpenSSL::SSL::OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
* OpenSS...

URI::LDAP#dn=(s) (45607.0)

自身の Distinguished Name を文字列で設定します。

自身の Distinguished Name を文字列で設定します。

@param s 自身の Distinguished Name を文字列で指定します。

絞り込み条件を変える

Resolv::DNS::Resource::MX#preference -> Integer (45604.0)

このMXレコードの優先度を返します。

このMXレコードの優先度を返します。

Time#wednesday? -> bool (36622.0)

self の表す時刻が水曜日である場合に true を返します。 そうでない場合に false を返します。

self の表す時刻が水曜日である場合に true を返します。
そうでない場合に false を返します。

//emlist[][ruby]{
t = Time.local(1993, 2, 24) # => 1993-02-24 00:00:00 +0900
p t.wednesday? # => true
//}

Resolv::DNS::Resource::HINFO#cpu -> String (36604.0)

ホストで使われる CPU 名(ハードウェア名)を返します。

ホストで使われる CPU 名(ハードウェア名)を返します。

Resolv::DNS::Resource::IN::SRV#port -> Integer (36604.0)

対象のサービスの対象のホストにおけるポート番号を返します。

対象のサービスの対象のホストにおけるポート番号を返します。

Resolv::DNS::Resource::IN::SRV#priority -> Integer (36604.0)

ホストの優先順位を返します。

ホストの優先順位を返します。

クライアントは利用可能なホストの中で最も priority が
小さい数値のホストを利用しなければなりません。

priority が同じならば Resolv::DNS::Resource::IN::SRV#weight
で定義されるようにホストを選ぶべきです。

返り値の範囲は 0 から 65535 までの整数値です。

絞り込み条件を変える

Resolv::DNS::Resource::IN::WKS#bitmap -> String (36604.0)

そのホストで利用可能なサービスのビットマップを返します。

そのホストで利用可能なサービスのビットマップを返します。

例えば Resolv::DNS::Resource::IN::WKS#protocol が 6 (TCP)
の場合、26番目のビットはポート25のサービス(SMTP)に対応しています。
このビットが立っているならば SMTP は利用可能であり、
そうでなければ利用できません。

Resolv::DNS::Resource::IN::WKS#protocol -> Integer (36604.0)

IPプロトコル番号を返します。

IPプロトコル番号を返します。

例えば 6 は TCP に対応します。

Resolv::DNS::Resource::SOA#expire -> Integer (36604.0)

プライマリサーバから得たゾーン情報をセカンダリサーバが 何秒間有効なものとして保持するかを返します。

プライマリサーバから得たゾーン情報をセカンダリサーバが
何秒間有効なものとして保持するかを返します。

OpenSSL::PKCS7::SignerInfo#name -> OpenSSL::X509::Name (27952.0)

署名者の証明書の発行者の名前(DN)を返します。

署名者の証明書の発行者の名前(DN)を返します。

これと OpenSSL::PKCS7::SignerInfo#serial で
署名者を一意に識別します。

Resolv::IPv4#to_name -> Resolv::DNS::Name (27904.0)

"x.y.z.w.in-addr.arpa." という形のドメイン名を返します。

"x.y.z.w.in-addr.arpa." という形のドメイン名を返します。

絞り込み条件を変える

Resolv::IPv6#to_name -> Resolv::DNS::Name (27904.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#subdomain_of?(other) -> bool (27412.0)

other が self のサブドメインであるかどうかを返します。

other が self のサブドメインであるかどうかを返します。

//emlist[][ruby]{
require "resolv"
domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("y.z").subdomain_of?(domai...

Resolv::DNS#getaddress(name) -> Resolv::IPv4 | Resolv::IPv6 (18904.0)

ホスト名 name の IP アドレスをルックアップし、 ルックアップ結果の最初のアドレスを返します。

ホスト名 name の IP アドレスをルックアップし、
ルックアップ結果の最初のアドレスを返します。

@param name ホスト名を文字列もしくはResolv::DNS::Nameのインスタンスで与えます。
@raise Resolv::ResolvError ルックアップに失敗したときに発生します。

Resolv::DNS#getaddresses(name) -> [Resolv::IPv4 | Resolv::IPv6] (18904.0)

ホスト名 name の IP アドレスをルックアップし、 ルックアップ結果のアドレスリストを返します。

ホスト名 name の IP アドレスをルックアップし、
ルックアップ結果のアドレスリストを返します。

ルックアップに失敗した場合は空の配列が返されます。

@param name ホスト名を文字列もしくはResolv::DNS::Nameのインスタンスで与えます。

Resolv::DNS#getresource(name, typeclass) -> Resolv::DNS::Resource (18904.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] (18904.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:...

OpenSSL::PKCS7::RecipientInfo#issuer -> OpenSSL::X509::Name (18652.0)

送信先の証明書の発行者の名前(DN)を返します。

送信先の証明書の発行者の名前(DN)を返します。

これと OpenSSL::PKCS7::RecipientInfo#serial で
送信先を一意に識別します。

OpenSSL::PKCS7::SignerInfo#issuer -> OpenSSL::X509::Name (18652.0)

署名者の証明書の発行者の名前(DN)を返します。

署名者の証明書の発行者の名前(DN)を返します。

これと OpenSSL::PKCS7::SignerInfo#serial で
署名者を一意に識別します。

Resolv::DNS#each_resource(name, typeclass) {|resource| ...} -> () (18604.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
* Res...

OpenSSL::X509::Name#to_s(flags=nil) -> String (18460.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...

絞り込み条件を変える

Resolv::DNS::Resource::IN::A#address -> Resolv::IPv4 (18304.0)

IPv4アドレスを返します。

IPv4アドレスを返します。

Resolv::DNS::Resource::IN::AAAA#address -> Resolv::IPv6 (18304.0)

IPv6アドレスを返します。

IPv6アドレスを返します。

Resolv::DNS::Resource::IN::WKS#address -> Resolv::IPv4 (18304.0)

IPv4アドレスを返します。

IPv4アドレスを返します。

ERB#def_class(superklass=Object, methodname='erb') -> Class (904.0)

変換した Ruby スクリプトをメソッドとして定義した無名のクラスを返します。

変換した Ruby スクリプトをメソッドとして定義した無名のクラスを返します。


@param superklass 無名クラスのスーパークラス

@param methodname メソッド名

//emlist[例][ruby]{
require 'erb'

class MyClass_
def initialize(arg1, arg2)
@arg1 = arg1; @arg2 = arg2
end
end
filename = 'example.rhtml' # @arg1 と @arg2 が使われている example.rhtml

erb = ERB.n...