るりまサーチ (Ruby 3.4)

最速Rubyリファレンスマニュアル検索!
7件ヒット [1-7件を表示] (0.006秒)
トップページ > バージョン:3.4[x] > クラス:OpenSSL::X509::Attribute[x]

ライブラリ

キーワード

検索結果

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

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

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

- **raise** `OpenSSL::X509::AttributeError` -- Object ID の取得に失敗した場合に発生します
- **SEE** [m:OpenSSL::X509::Attribute#oid=]...

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

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

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

- **param** `oid` -- 設定する Object ID 文字列
- **raise** `OpenSSL::X509::AttributeError` -- oidが不正であった場合に発生します
- **SEE** [m:OpenSSL::X509::Attribute#oid]...

OpenSSL::X509::Attribute#to_der -> String (4.0)

自身を DER 形式のバイト列に変換します。

...自身を DER 形式のバイト列に変換します。

- **raise** `OpenSSL::X509::AttributeError` -- 変換に失敗した場合に発生します...

OpenSSL::X509::Attribute#value -> OpenSSL::ASN1::ASN1Data (4.0)

attribute の値を [c:OpenSSL::ASN1::ASN1Data] のオブジェクトで返します。

...attribute の値を [c:OpenSSL::ASN1::ASN1Data] のオブジェクトで返します。

- **raise** `OpenSSL::X509::AttributeError` -- 値の取得に失敗した場合に発生します
- **SEE** [m:OpenSSL::X509::Attribute#value=]...

OpenSSL::X509::Attribute#value=(val) (4.0)

attribute の値を設定します。

...N1Data] のオブジェクトを渡さなければなりません。

- **param** `val` -- 設定する値の [c:OpenSSL::ASN1::ASN1Data] オブジェクト
- **raise** `OpenSSL::X509::AttributeError` -- val が不正であった場合に発生します
- **SEE** [m:OpenSSL::X509::Attribute#value]...

絞り込み条件を変える

OpenSSL::X509::Attribute.new(der) -> OpenSSL::X509::Attribute (4.0)

attribute オブジェクトを生成します。

...- **param** `oid` -- Object ID 文字列
- **param** `value` -- 値を表す [c:OpenSSL::ASN1::ASN1Data] インスタンス
- **raise** `OpenSSL::X509::AttributeError` -- attributeオブジェクトの生成に失敗した場合に発生します。DER 形式文字列が不正であった場合、o...

OpenSSL::X509::Attribute.new(oid, value) -> OpenSSL::X509::Attribute (4.0)

attribute オブジェクトを生成します。

...- **param** `oid` -- Object ID 文字列
- **param** `value` -- 値を表す [c:OpenSSL::ASN1::ASN1Data] インスタンス
- **raise** `OpenSSL::X509::AttributeError` -- attributeオブジェクトの生成に失敗した場合に発生します。DER 形式文字列が不正であった場合、o...