| Class | OpenSSL::X509::ExtensionFactory |
| In: |
openssl/lib/openssl/x509.rb
|
| Parent: | Object |
# File openssl/lib/openssl/x509.rb, line 30 def create_ext_from_array(ary) raise ExtensionError, "unexpected array form" if ary.size > 3 create_ext(ary[0], ary[1], ary[2]) end
# File openssl/lib/openssl/x509.rb, line 42 def create_ext_from_hash(hash) create_ext(hash["oid"], hash["value"], hash["critical"]) end
# File openssl/lib/openssl/x509.rb, line 35 def create_ext_from_string(str) # "oid = critical, value" oid, value = str.split(/=/, 2) oid.strip! value.strip! create_ext(oid, value) end
ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.