ssl.peer_cert => cert or nil Instance Public methods The X509 certificate for this socket's peer.
ssl.peer_cert_chain => [cert, ...] or nil Instance Public methods The X509 certificate chain for this socket's peer.
ssl.pending => Integer Instance Public methods The number of bytes that are immediately available for reading
post_connection_check(hostname) Instance Public methods Perform hostname verification after an SSL connection is established This method MUST be called after calling connect to ensure that the hostname of a remote peer has been verified.
session() Instance Public methods
ssl.session = session â session Instance Public methods Sets the Session to be used when the connection is established.
ssl.session_reused? â true | false Instance Public methods Returns true if a reused session was negotiated during the handshake.
ssl.version => String Instance Public methods Returns a String representing the SSL/TLS version that was negotiated for the connection, for example âTLSv1.2â.
ssl.state => string Instance Public methods A description of the current connection state.
ssl.sysclose => nil Instance Public methods Shuts down the SSL connection and prepares it for another connection.
Page 747 of 11844