@@ -816,7 +816,22 @@ def idle_response_timeout; config.idle_response_timeout end
816
816
# If +ssl+ is a hash, it's passed to
817
817
# {OpenSSL::SSL::SSLContext#set_params}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-set_params];
818
818
# the keys are names of attribute assignment methods on
819
- # SSLContext[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html].
819
+ # SSLContext[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html]. For example:
820
+ #
821
+ # [{ca_file}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-ca_file]]
822
+ # The path to a file containing a PEM-format CA certificate.
823
+ # [{ca_path}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-ca_path]]
824
+ # The path to a directory containing CA certificates in PEM format.
825
+ # [{min_version}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D]]
826
+ # Sets the lower bound on the supported SSL/TLS protocol version. Set to
827
+ # an +OpenSSL+ constant such as +OpenSSL::SSL::TLS1_2_VERSION+,
828
+ # [{verify_mode}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]]
829
+ # SSL session verification mode. Valid modes include
830
+ # +OpenSSL::SSL::VERIFY_PEER+ and +OpenSSL::SSL::VERIFY_NONE+.
831
+ #
832
+ # See {OpenSSL::SSL::SSLContext}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html] for other valid SSL context params.
833
+ #
834
+ # See DeprecatedClientOptions.new for deprecated SSL arguments.
820
835
#
821
836
# [config]
822
837
# A Net::IMAP::Config object to use as the basis for #config. By default,
@@ -834,7 +849,7 @@ def idle_response_timeout; config.idle_response_timeout end
834
849
# [{idle_response_timeout}[rdoc-ref:Config#idle_response_timeout]]
835
850
# Seconds to wait until an IDLE response is received
836
851
#
837
- # See DeprecatedClientOptions.new for deprecated arguments .
852
+ # See Net::IMAP::Config for other valid options .
838
853
#
839
854
# ==== Examples
840
855
#
0 commit comments