Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::X509::ExtensionFactoryクラス > create_ext_from_string

instance method OpenSSL::X509::ExtensionFactory#create_ext_from_string

create_ext_from_string(str) -> OpenSSL::X509::Extension

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

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

[PARAM] str:
生成する拡張領域のデータの文字列

[SEE_ALSO] OpenSSL::X509::ExtensionFactory#create_ext

class OpenSSL::X509::ExtensionFactory