るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. objectspace each_object
  2. _builtin each_object
  3. object send
  4. object to_enum
  5. pp object_group

ライブラリ

キーワード

検索結果

OpenSSL::ASN1::ObjectId#oid -> String (63361.0)

オブジェクト識別子のドット区切り数値を文字列で返します。

オブジェクト識別子のドット区切り数値を文字列で返します。

例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.oid #=> "2.5.29.17"

@raise OpenSSL::ASN1::ASN1Error オブジェクト識別子名が未知である場合に発生します

OpenSSL::X509::Attribute#oid -> String (54391.0)

attribute の Object ID(識別子)を文字列で返します。

attribute の Object ID(識別子)を文字列で返します。

@raise OpenSSL::X509::AttributeError Object ID の取得に失敗した場合に発生します
@see OpenSSL::X509::Attribute#oid=

OpenSSL::X509::Attribute#oid=(oid) (18730.0)

attribute の Object ID(識別子)を文字列で設定します。

attribute の Object ID(識別子)を文字列で設定します。

@param oid 設定する Object ID 文字列
@raise OpenSSL::X509::AttributeError oidが不正であった場合に発生します
@see OpenSSL::X509::Attribute#oid

OpenSSL::ASN1::ObjectId#ln -> String | nil (9040.0)

オブジェクト識別子に対応する long name を返します。

オブジェクト識別子に対応する long name を返します。

例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.ln #=> "X509v3 Subject Alternative Name"

@see OpenSSL::ASN1::ObjectId#sn

OpenSSL::ASN1::ObjectId#long_name -> String | nil (9040.0)

オブジェクト識別子に対応する long name を返します。

オブジェクト識別子に対応する long name を返します。

例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.ln #=> "X509v3 Subject Alternative Name"

@see OpenSSL::ASN1::ObjectId#sn

絞り込み条件を変える

OpenSSL::ASN1::ObjectId#short_name -> String | nil (9040.0)

オブジェクト識別子に対応する short name を返します。

オブジェクト識別子に対応する short name を返します。

例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"

@see OpenSSL::ASN1::ObjectId#ln

OpenSSL::ASN1::ObjectId#sn -> String | nil (9040.0)

オブジェクト識別子に対応する short name を返します。

オブジェクト識別子に対応する short name を返します。

例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"

@see OpenSSL::ASN1::ObjectId#ln

OpenSSL::X509::Name#add_entry(oid, value, type = nil) (361.0)

新しい属性を追加します。

新しい属性を追加します。

@param oid 属性型文字列
@param value 属性値文字列
@param type 属性値の(ASN.1の)型、省略時は OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE と oid から型が決まる
@raise OpenSSL::X509::NameError 属性の追加に失敗した場合に発生します