Results for: "remove_const"

No documentation available
No documentation available

Adds session to the session cache.

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.

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

Returns the ALPN protocol string that was finally selected by the server during the handshake.

Returns the protocol string that was finally selected by the client during the handshake.

No documentation available

Parses the string representation of a distinguished name. Two different forms are supported:

Neither of them is standardized and has quirks and inconsistencies in handling of escaped characters or multi-valued RDNs.

Use of this method is discouraged in new applications. See Name.parse_rfc2253 and to_utf8 for the alternative.

No documentation available
No documentation available

Returns the human readable error string corresponding to the error code retrieved by error.

See also the man page X509_verify_cert_error_string(3).

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

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

No documentation available

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.

Checks the nonce validity for this request and response.

The return value is one of the following:

-1

nonce in request only.

0

nonces both present and not equal.

1

nonces present and equal.

2

nonces both absent.

3

nonce present in response only.

For most responses, clients can check result > 0. If a responder doesn’t handle nonces result.nonzero? may be necessary. A result of 0 is always an error.

No documentation available
No documentation available

Adds nonce to this response. If no nonce was provided a random nonce will be added.

Search took: 6ms  ·  Total Results: 3564