Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
SSL_CTX_new, SSL_CTX_up_ref, TLS_method, TLS_server_method, TLS_client_method, SSLv23_method, SSLv23_server_method, SSLv23_client_method, TLSv1_method, TLSv1_server_method, TLSv1_client_method, TLSv1_1_method, TLSv1_1_server_method, TLSv1_1_client_method, TLSv1_2_method, TLSv1_2_server_method, TLSv1_2_client_method, DTLS_method, DTLS_server_method, DTLS_client_method, DTLSv1_method, DTLSv1_server_method, DTLSv1_client_method, DTLSv1_2_method, DTLSv1_2_server_method, DTLSv1_2_client_method — create a new SSL_CTX object as a framework for TLS enabled functionsSYNOPSIS
#include <openssl/ssl.h>SSL_CTX_new(const SSL_METHOD *method);
SSL_CTX_up_ref(SSL_CTX *ctx);
TLS_method(void);
TLS_server_method(void);
TLS_client_method(void);
SSLv23_method(void);
SSLv23_server_method(void);
SSLv23_client_method(void);
TLSv1_method(void);
TLSv1_server_method(void);
TLSv1_client_method(void);
TLSv1_1_method(void);
TLSv1_1_server_method(void);
TLSv1_1_client_method(void);
TLSv1_2_method(void);
TLSv1_2_server_method(void);
TLSv1_2_client_method(void);
DTLS_method(void);
DTLS_server_method(void);
DTLS_client_method(void);
DTLSv1_method(void);
DTLSv1_server_method(void);
DTLSv1_client_method(void);
DTLSv1_2_method(void);
DTLSv1_2_server_method(void);
DTLSv1_2_client_method(void);
DESCRIPTION
SSL_CTX_new() creates a new SSL_CTX object as a framework to establish TLS or DTLS enabled connections. It initializes the list of ciphers, the session cache setting, the callbacks, the keys and certificates, the options, and the security level to its default values.- TLS_method()
- The general-purpose version-flexible TLS method. The protocol version used will be negotiated to the highest version mutually supported by the client and the server. The supported protocols are TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- DTLS_method()
- The version-flexible DTLS method. The currently supported protocols are DTLSv1 and DTLSv1.2.
- TLS_server_method(), TLS_client_method(), SSLv23_method(), SSLv23_server_method(), SSLv23_client_method()
- Deprecated aliases for TLS_method().
- DTLS_server_method(), DTLS_client_method()
- Deprecated aliases for DTLS_method().
- TLSv1_method(), TLSv1_server_method(), TLSv1_client_method()
- A connection established with these methods will only understand the TLSv1 protocol.
- TLSv1_1_method(), TLSv1_1_server_method(), TLSv1_1_client_method()
- A connection established with these methods will only understand the TLSv1.1 protocol.
- TLSv1_2_method(), TLSv1_2_server_method(), TLSv1_2_client_method()
- A connection established with these methods will only understand the TLSv1.2 protocol.
- DTLSv1_method(), DTLSv1_server_method(), DTLSv1_client_method()
- These are the version-specific methods for DTLSv1.
- DTLSv1_2_method(), DTLSv1_2_server_method(), DTLSv1_2_client_method() These are the version-specific methods for DTLSv1.2.