Adds file name
with permissions mode
, and yields an IO
for writing the file to
Indicate if this activation is one of a set of possible requests for the same Dependency request.
Returns true
if this gem is installable for the current platform.
Returns true
if this gem is installable for the current platform.
Returns true if this specification is installable on this platform.
Creates a legacy platform spec with the name ‘pl’ and version 1
Removes a password from the database for user
in realm
.
Removes a password from the database for user
in realm
.
Allow custom handling of requests for files with suffix
by class handler
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 ‘exception: false`, the options hash allows you to 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.
Writes string
to the SSL
connection in a non-blocking manner. Raises an SSLError
if writing would block.
The long name of the ObjectId
, as defined in <openssl/objects.h>.
Adds certificate_id
to the request.
Returns a SingleResponse
whose CertId matches with certificate_id
, or nil if this BasicResponse
does not contain it.
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().
Encrypt string
with the public key. padding
defaults to PKCS1_PADDING. The encrypted string output can be decrypted using private_decrypt
.
Encrypt string
with the private key. padding
defaults to PKCS1_PADDING. The encrypted string output can be decrypted using public_decrypt
.
Sets p
, q
for the RSA
instance.