method
create_ext_from_string
v2_5_5 -
Show latest stable
- Class:
OpenSSL::X509::ExtensionFactory
create_ext_from_string(str)public
No documentation available.
# File ext/openssl/lib/openssl/x509.rb, line 31
def create_ext_from_string(str) # "oid = critical, value"
oid, value = str.split(/=/, 2)
oid.strip!
value.strip!
create_ext(oid, value)
end