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

instance method OpenSSL::X509::ExtensionFactory#create_ext_from_array

create_ext_from_array(ary) -> OpenSSL::X509::Extension[permalink][rdoc]

[oid, value, critical] もしくは [oid, value] という配列から OpenSSL::X509::Extension オブジェクトを生成します。

[PARAM] ary:
生成する拡張領域のデータの配列

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