るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.150秒)
トップページ > クエリ:OpenSSL::X509::Extension#oid=[x]

別のキーワード

  1. new openssl::bn
  2. x509 trust_email
  3. openssl x509
  4. x509 trust_compat
  5. x509 v_ok

ライブラリ

キーワード

検索結果

OpenSSL::X509::Extension#oid=(oid) (62112.0)

拡張領域の識別子(extnID)をOIDの文字列で設定します。

...拡張領域の識別子(extnID)をOIDの文字列で設定します。

@param oid OIDの文字列
@raise OpenSSL::X509::Extension 識別子の設定に失敗した場合に発生します
@see OpenSSL::X509::Extension#oid...

OpenSSL::X509::Extension.new(der) -> OpenSSL::X509::Extension (21124.0)

OpenSSL::X509::Extension オブジェクトを生成します。

...OpenSSL::X509::Extension オブジェクトを生成します。

引数が1つの場合は DER 形式の文字列を渡します。

引数が2つ以上の場合は、oid には拡張領域の OID の ドット区切り表記、
short name、long name のいずれかである文字列を与えま...
...DER 形式の文字列、もしくは
OpenSSL::ASN1::ASN1Data のサブクラスを与えます。

例;

require 'openssl'
include OpenSSL
oid =
"subjectKeyIdentifier"
val = "\004\024\206\312\245\"\201b\357\255\n\211\274\255rA,)I\364\206V"
ex = X509::Extension.new(oid, val)
p ex.value...

OpenSSL::X509::Extension.new(oid, value, critical=false) -> OpenSSL::X509::Extension (21124.0)

OpenSSL::X509::Extension オブジェクトを生成します。

...OpenSSL::X509::Extension オブジェクトを生成します。

引数が1つの場合は DER 形式の文字列を渡します。

引数が2つ以上の場合は、oid には拡張領域の OID の ドット区切り表記、
short name、long name のいずれかである文字列を与えま...
...DER 形式の文字列、もしくは
OpenSSL::ASN1::ASN1Data のサブクラスを与えます。

例;

require 'openssl'
include OpenSSL
oid =
"subjectKeyIdentifier"
val = "\004\024\206\312\245\"\201b\357\255\n\211\274\255rA,)I\364\206V"
ex = X509::Extension.new(oid, val)
p ex.value...

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

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

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

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

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