るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
8件ヒット [1-8件を表示] (0.074秒)
トップページ > クエリ:openssl[x] > バージョン:2.4.0[x] > クエリ:AttributeError[x]

別のキーワード

  1. openssl new
  2. openssl digest
  3. openssl to_der
  4. openssl hexdigest
  5. openssl to_s

ライブラリ

クラス

キーワード

検索結果

OpenSSL::X509::AttributeError (87049.0)

OpenSSL::X509::Attribute 関連のエラーが起きた場合に 発生する例外です。

OpenSSL::X509::Attribute 関連のエラーが起きた場合に
発生する例外です。

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

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

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

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

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

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

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

引数が1個で、文字列であるならば、それを DER 形式の
データであると見なして attribute オブジェクトを生成します。
引数が1個で、それ以外の場合は to_der メソッドで DER 形式に変換してから
それを attribute オブジェクトに変換します。

引数が2個の場合は、それぞれを attribute の Object ID (識別子)と
値(内容)と見なして attribute オブジェクトを生成します。
この場合、oid は Object ID の文字列、value には
OpenSSL::ASN1::ASN1Data...

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

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

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

引数が1個で、文字列であるならば、それを DER 形式の
データであると見なして attribute オブジェクトを生成します。
引数が1個で、それ以外の場合は to_der メソッドで DER 形式に変換してから
それを attribute オブジェクトに変換します。

引数が2個の場合は、それぞれを attribute の Object ID (識別子)と
値(内容)と見なして attribute オブジェクトを生成します。
この場合、oid は Object ID の文字列、value には
OpenSSL::ASN1::ASN1Data...

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

attribute の値を設定します。

attribute の値を設定します。

引数には OpenSSL::ASN1::ASN1Data のオブジェクトを渡さなければなりません。

@param val 設定する値の OpenSSL::ASN1::ASN1Data オブジェクト
@raise OpenSSL::X509::AttributeError val が不正であった場合に発生します
@see OpenSSL::X509::Attribute#value

絞り込み条件を変える

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

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

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

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

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

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

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

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

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

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

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

@raise OpenSSL::X509::AttributeError 変換に失敗した場合に発生します