Adds a maker to the set of supported makers
Creates an unsigned certificate for subject
and key
. The lifetime of the key is from the current time to age
which defaults to one year.
The extensions
restrict the key to the indicated uses.
Enumerates the trusted certificates via Gem::Security::TrustDir
.
Displays a warning statement
to the warning output location. Asks a question
if given.
Enumerates the parents of directory
.
Is code
a client error status?
Is code
a client error status?
Parses an HTTP header raw
into a hash of header fields with an Array of values.
Parses an HTTP header raw
into a hash of header fields with an Array of values.
Parses the query component of a URI
in str
Parses the query component of a URI
in str
Creates TCP server sockets bound to address
:port
and returns them.
It will create IPV4 and IPV6 sockets on all interfaces.
Creates TCP server sockets bound to address
:port
and returns them.
It will create IPV4 and IPV6 sockets on all interfaces.
Set
the effective user ID, and if possible, the saved user ID of the process to the given user. Returns the new effective user ID. Not available on all platforms.
[Process.uid, Process.euid] #=> [0, 0] Process::UID.grant_privilege(31) #=> 31 [Process.uid, Process.euid] #=> [0, 31]
Exchange real and effective user IDs and return the new effective user ID. Not available on all platforms.
[Process.uid, Process.euid] #=> [0, 31] Process::UID.re_exchange #=> 0 [Process.uid, Process.euid] #=> [31, 0]