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.
Creates a new key pair of the specified length
and algorithm
. The default is a 3072 bit RSA key.
Enumerates the trusted certificates via Gem::Security::TrustDir
.
Wraps text
to wrap
characters and optionally indents by indent
characters
This code is based directly on the Text
gem implementation Returns a value representing the “cost” of transforming str1 into str2
Terminates the RubyGems process with the given exit_code
Normalizes a request path. Raises an exception if the path cannot be normalized.