Enumerates the trusted certificates via Gem::Security::TrustDir
.
If response
is an HTTP Success (2XX) response, yields the response if a block was given or shows the response body to the user.
If the response was not successful, shows an error to the user including the error_prefix
and the response body. If the response was a permanent redirect, shows an error to the user including the redirect location.
Displays an error statement
to the error output location. Asks a question
if given.
Displays a warning statement
to the warning output location. Asks a question
if given.
Parse a float from the string representation.
Parse a complex from the string representation.
Stores all parameters of key to a Hash
.
The hash has keys ‘p’, ‘q’, ‘g’, ‘pub_key’, and ‘priv_key’.
Stores all parameters of key to a Hash
.
The hash has keys ‘p’, ‘q’, ‘g’, ‘pub_key’, and ‘priv_key’.
Stores all parameters of key to a Hash
.
The hash has keys ‘n’, ‘e’, ‘d’, ‘p’, ‘q’, ‘dmp1’, ‘dmq1’, and ‘iqmp’.
The list of cipher suites configured for this context.
Sets the list of available cipher suites for this context. Note in a server context some ciphers require the appropriate certificates. For example, an RSA cipher suite can only be chosen when an RSA certificate is available.
Sets the list of available TLSv1.3 cipher suites for this context.
Gets X509v3 extensions as array of X509Ext objects
Sets X509_EXTENSIONs
Gets X509v3 extensions as array of X509Ext objects
Sets X509_EXTENSIONs