OpenSSL::SSL::SSLContext
class OpenSSL::SSL::SSLContext
An SSLContext is used to set various options regarding certificates, algorithms, verification, session caching, etc. The SSLContext is used to create an SSLSocket.
All attributes must be set before creating an SSLSocket as the SSLContext will be frozen afterward.
Constants
- METHODS
-
The list of available SSL/TLS methods
- SESSION_CACHE_BOTH
-
Both client and server sessions are added to the session cache<