Creating the Secure Socket Context
RWSecureSocketContext is the central data structure in the Secure Sockets package. It contains default information for all secure sockets and portals that you create with it, including:
*default cipher list
*session ID cache
*default certificate and private key
*default location of trusted certificates
*default certificate verification mode and verification callback
All of these defaults can be overridden for each socket or portal.
Normally, your application sets the default certificate and private key for servers and the default location of trusted certificates for clients. This information can be set using the member functions setIdentity() and prepareToAuthenticate().
By default, the constructor for the context calls setOptions(SSL_OP_ALL) to enable compatibility with other SSL/TLS implementations. For more information, see the reference page for RWSecureSocketContext.