Skip to content
instance method

OpenSSL::X509::ExtensionFactory#create_ext

(::String oid, ::String value, ?::boolish critical) -> ::OpenSSL::X509::Extension
ef.create_ext(ln_or_sn, "value", critical = false) → X509::Extension
ef.create_ext(ln_or_sn, "critical,value") → X509::Extension

Creates a new X509::Extension with passed values. See also x509v3_config(5).

See also .new #create_extension #create_ext_from_array also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0