Results for: "partition"

Sets the SSL/TLS protocol version for the context. This forces connections to use only the specified protocol version.

You can get a list of valid versions with OpenSSL::SSL::SSLContext::METHODS

Adds session to the session cache.

Removes session from the session cache.

Removes sessions in the internal cache that have expired at time.

Initiates the SSL/TLS handshake as a client in non-blocking manner.

# emulates blocking connect
begin
  ssl.connect_nonblock
rescue IO::WaitReadable
  IO.select([s2])
  retry
rescue IO::WaitWritable
  IO.select(nil, [s2])
  retry
end

By specifying ‘exception: false`, the options hash allows you to indicate that connect_nonblock should not raise an IO::WaitReadable or IO::WaitWritable exception, but return the symbol :wait_readable or :wait_writable instead.

Writes string to the SSL connection in a non-blocking manner. Raises an SSLError if writing would block.

Returns a String representing the SSL/TLS version that was negotiated for the connection, for example “TLSv1.2”.

Returns true if a reused session was negotiated during the handshake.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Obtains a list of all predefined curves by the OpenSSL. Curve names are returned as sn.

See the OpenSSL documentation for EC_get_builtin_curves().

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Takes a String and parses it out

No documentation available
No documentation available

Content: [ String tag_name, Hash attributes ]

No documentation available
No documentation available
Search took: 5ms  ·  Total Results: 2873