Class: Faraday::SSLOptions
- Defined in:
- lib/faraday/options/ssl_options.rb
Overview
SSL-related options.
Instance Attribute Summary collapse
-
#ca_file ⇒ String
CA file.
-
#ca_path ⇒ String
CA path.
-
#cert_store ⇒ OpenSSL::X509::Store
Certificate store.
-
#certificate ⇒ OpenSSL::X509::Certificate
Certificate (Excon only).
-
#client_cert ⇒ String, OpenSSL::X509::Certificate
Client certificate.
-
#client_key ⇒ String, ...
Client key.
-
#max_version ⇒ String, Symbol
Maximum SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D).
-
#min_version ⇒ String, Symbol
Minimum SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D).
-
#private_key ⇒ OpenSSL::PKey::RSA, OpenSSL::PKey::DSA
Private key (Excon only).
-
#verify ⇒ Boolean
Whether to verify SSL certificates or not.
-
#verify_depth ⇒ Integer
Maximum depth for the certificate chain verification.
-
#verify_hostname ⇒ Boolean
Whether to enable hostname verification on server certificates during the handshake or not (see github.com/ruby/openssl/pull/60).
-
#verify_mode ⇒ Integer
Any ‘OpenSSL::SSL::` constant (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html).
- #version ⇒ String, Symbol
Method Summary
Methods inherited from Options
#[], attribute_options, #clear, #deep_dup, #delete, #each, #each_key, #each_value, #empty?, #fetch, fetch_error_class, from, inherited, #inspect, #key?, #keys, memoized, memoized_attributes, #merge, #merge!, options, options_for, #symbolized_key_set, #to_hash, #update, #value?, #values_at
Instance Attribute Details
#ca_file ⇒ String
Returns CA file.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#ca_path ⇒ String
Returns CA path.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#cert_store ⇒ OpenSSL::X509::Store
Returns certificate store.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#certificate ⇒ OpenSSL::X509::Certificate
Returns certificate (Excon only).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#client_cert ⇒ String, OpenSSL::X509::Certificate
Returns client certificate.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#client_key ⇒ String, ...
Returns client key.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#max_version ⇒ String, Symbol
Returns maximum SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#min_version ⇒ String, Symbol
Returns minimum SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#private_key ⇒ OpenSSL::PKey::RSA, OpenSSL::PKey::DSA
Returns private key (Excon only).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#verify ⇒ Boolean
Returns whether to verify SSL certificates or not.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#verify_depth ⇒ Integer
Returns maximum depth for the certificate chain verification.
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#verify_hostname ⇒ Boolean
Returns whether to enable hostname verification on server certificates during the handshake or not (see github.com/ruby/openssl/pull/60).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#verify_mode ⇒ Integer
Returns Any ‘OpenSSL::SSL::` constant (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |
#version ⇒ String, Symbol
Returns SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D).
45 |
# File 'lib/faraday/options/ssl_options.rb', line 45 class SSLOptions < Options; end |