Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
OpenSSL::X509::ExtensionFactory#create_ext_from_string
create_ext_from_string(str)
ext/openssl/lib/openssl/x509.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/openssl/lib/openssl/x509.rb, line 33
def create_ext_from_string(str) # "oid = critical, value"
oid, value = str.split(/=/, 2)
oid.strip!
value.strip!
create_ext(oid, value)
end
No documentation available
See also
#create_ext_from_hash
#crl=
#create_ext_from_array
#issuer_certificate=
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0