Class Rev::SSLSocket
In: lib/rev/ssl.rb
Parent: TCPSocket

A socket class for SSL connections

Methods

Public Class methods

Perform a non-blocking connect to the given host and port

Public Instance methods

Called when peer certificate has successfully been received. Equivalent to OpenSSL::SSL::SSLSocket#peer_cert

Called when SSL handshaking has successfully completed

Called if an error occurs during SSL session initialization

Called when SSL handshaking has been completed successfully. Equivalent to OpenSSL::SSL::SSLSocket#verify_result

Returns the OpenSSL::SSL::SSLContext for to use for the session. By default no certificates will be checked. If you would like any certificate checking to be performed, please override this method and return a context loaded with the appropriate certificates.

Protected Instance methods

[Validate]