Creates a new SSLCtx supporting SSLv3 and TLSv1 methods.
Loads valid Certificate Authorities from the specified path.
Assigns a X509 Certificate to the SSLCtx.
Assigns a PrivateKey (public/private keypair to the SSLCtx.
Sets a SSLVerifyCallback function using the SSL_VERIFY_(NONE|PEER|etc) flags to control how verification is handled.
Sets a CertificateStore of certs that are valid and trust Certificate Authorities during verification.
SSLCtx is provided to SSLSocket and SSLServerSocket.
It contains the public/private keypair, and some additional options that control how the SSL streams work.
Example