Class: Faraday::SSLOptions

Inherits:
Options
  • Object
show all
Defined in:
lib/faraday/options/ssl_options.rb

Overview

SSL-related options.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Options

#[], attribute_options, #clear, #deep_dup, #delete, #each, #each_key, #each_value, #empty?, #fetch, fetch_error_class, from, #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.

Returns:

  • (String) —

    CA file



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#ca_path ⇒ String

Returns CA path.

Returns:

  • (String) —

    CA path



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#cert_store ⇒ OpenSSL::X509::Store

Returns certificate store.

Returns:

  • (OpenSSL::X509::Store) —

    certificate store



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#certificate ⇒ OpenSSL::X509::Certificate

Returns certificate (Excon only).

Returns:

  • (OpenSSL::X509::Certificate) —

    certificate (Excon only)



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#ciphers ⇒ String



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#client_cert ⇒ String, OpenSSL::X509::Certificate

Returns client certificate.

Returns:

  • (String, OpenSSL::X509::Certificate) —

    client certificate



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#client_key ⇒ String, ...

Returns client key.

Returns:

  • (String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA) —

    client key



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#hostname ⇒ String



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#max_version ⇒ String, Symbol



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#min_version ⇒ String, Symbol



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#private_key ⇒ OpenSSL::PKey::RSA, OpenSSL::PKey::DSA

Returns private key (Excon only).

Returns:

  • (OpenSSL::PKey::RSA, OpenSSL::PKey::DSA) —

    private key (Excon only)



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#verify ⇒ Boolean

Returns whether to verify SSL certificates or not.

Returns:

  • (Boolean) —

    whether to verify SSL certificates or not



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#verify_depth ⇒ Integer

Returns maximum depth for the certificate chain verification.

Returns:

  • (Integer) —

    maximum depth for the certificate chain verification



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#verify_hostname ⇒ Boolean

Returns whether to enable hostname verification on server certificates during the handshake or not (see https://github.com/ruby/openssl/pull/60).

Returns:



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#verify_mode ⇒ Integer

Returns:



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end

#version ⇒ String, Symbol



51
# File 'lib/faraday/options/ssl_options.rb', line 51

class SSLOptions < Options; end