Results for: "partition"

No documentation available

Encodes str using URL encoding

This encodes SP to %20 instead of +.

Decodes given str of URL-encoded data.

This does not decode + to SP.

No documentation available
No documentation available

Glob pattern for require-able plugin suffixes.

Clear default gem related variables. It is for test

Finds the user’s config file

The default signing key path

Should be implemented by a extended class.

tsort_each_node is used to iterate for all nodes over a graph.

Should be implemented by a extended class.

tsort_each_child is used to iterate for child nodes of node.

@return [Object] most up-to-date dependency in the possibility set

Returns the security level for the context.

See also OpenSSL::SSL::SSLContext#security_level=.

Sets the security level for the context. OpenSSL limits parameters according to the level. The “parameters” include: ciphersuites, curves, key sizes, certificate signature algorithms, protocol version and so on. For example, level 1 rejects parameters offering below 80 bits of security, such as ciphersuites using MD5 for the MAC or RSA keys shorter than 1024 bits.

Note that attempts to set such parameters with insufficient security are also blocked. You need to lower the level first.

This feature is not supported in OpenSSL < 1.1.0, and setting the level to other than 0 will raise NotImplementedError. Level 0 means everything is permitted, the same behavior as previous versions of OpenSSL.

See the manpage of SSL_CTX_set_security_level(3) for details.

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

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

By specifying a keyword argument exception to false, you can indicate that accept_nonblock should not raise an IO::WaitReadable or IO::WaitWritable exception, but return the symbol :wait_readable or :wait_writable instead.

A non-blocking version of sysread. Raises an SSLError if reading would block. If “exception: false” is passed, this method returns a symbol of :wait_readable, :wait_writable, or nil, rather than raising an exception.

Reads length bytes from the SSL connection. If a pre-allocated buffer is provided the data will be written into it.

The X509 certificate for this socket’s peer.

Returns the TCPServer passed to the SSLServer when initialized.

Returns the certificate which caused the error.

See also the man page X509_STORE_CTX_get_current_cert(3).

No documentation available
No documentation available
No documentation available

The short name of the ObjectId, as defined in <openssl/objects.h>.

The long name of the ObjectId, as defined in <openssl/objects.h>.

Adds a nonce to the OCSP request. If no nonce is given a random one will be generated.

The nonce is used to prevent replay attacks but some servers do not support it.

Search took: 4ms  ·  Total Results: 2657