The list of cipher suites configured for this context.
Sets the list of available cipher suites for this context. Note in a server context some ciphers require the appropriate certificates. For example, an RSA cipher suite can only be chosen when an RSA certificate is available.
Sends “close notify” to the peer and tries to shut down the SSL
connection gracefully.
If sync_close
is set to true
, the underlying IO
is also closed.
The X509
certificate for this socket endpoint.
Returns the cipher suite actually used in the current session, or nil if no session has been established.
See IO#close
for details.
Verifies the signature of the certificate, with the public key key. key must be an instance of OpenSSL::PKey
.