るりまサーチ (Ruby 2.5.0)

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

キーワード

検索結果

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

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

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

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

OpenSSL::X509::ExtensionFactory#create_ext_from_string(str) -> OpenSSL::X509::Extension (27640.0)

文字列から OpenSSL::X509::Extension オブジェクトを生成します。

文字列から OpenSSL::X509::Extension オブジェクトを生成します。

文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。

@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ext

OpenSSL::ASN1::ObjectId#short_name -> String | nil (27622.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#ln -> String | nil (18622.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 (18622.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#sn -> String | nil (18622.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#oid -> String (9322.0)

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

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

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

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