Returns true if SSL/TLS is being used with HTTP
.
Turn on/off SSL. This flag must be set before starting session. If you change use_ssl value after session started, a Net::HTTP
object raises IOError
.
Returns the X.509 certificates the server presented.
Adds an authenticator for Net::IMAP#authenticate
. auth_type
is the type of authentication this authenticator supports (for instance, “LOGIN”). The authenticator
is an object which defines a process() method to handle authentication with the server. See Net::IMAP::LoginAuthenticator
, Net::IMAP::CramMD5Authenticator
, and Net::IMAP::DigestMD5Authenticator
for examples.
If auth_type
refers to an existing authenticator, it will be replaced by the new one.
Enable SSL for all new instances. params
is passed to OpenSSL::SSLContext#set_params.
Disable SSL for all new instances.
returns true
if POP3.ssl_params
is set
does this instance use SSL?
Enables SSL for this instance. Must be called before the connection is established to have any effect. params[:port]
is port to establish the SSL connection on; Defaults to 995. params
(except :port) is passed to OpenSSL::SSLContext#set_params.
Disable SSL for all new instances.