|
SSL_CTX_set_ssl_version(3) -- choose a new TLS/SSL method
|
SSL_CTX_set_ssl_version() sets a new default TLS/SSL method for SSL objects newly created from this ctx. SSL objects already created with SSL_new(3) are not affected, except when SSL_clear(3) is being... |
SSL_CTX_set_timeout(3) -- manipulate timeout values for session caching
|
SSL_CTX_set_timeout() sets the timeout for newly created sessions for ctx to t. The timeout value t must be given in seconds. SSL_CTX_get_timeout() returns the currently set timeout value for ctx. |
SSL_CTX_set_tmp_dh_callback(3) -- handle DH keys for ephemeral key exchange
|
SSL_CTX_set_tmp_dh_callback() sets the callback function for ctx to be used when a DH parameters are required to tmp_dh_callback. The callback is inherited by all ssl objects created from ctx. SSL_CTX... |
SSL_CTX_set_tmp_rsa_callback(3) -- handle RSA keys for ephemeral key exchange
|
SSL_CTX_set_tmp_rsa_callback() sets the callback function for ctx to be used when a temporary/ephemeral RSA key is required to tmp_rsa_callback. The callback is inherited by all SSL objects newly crea... |
SSL_CTX_set_verify(3) -- set peer certificate verification parameters
|
SSL_CTX_set_verify() sets the verification flags for ctx to be mode and specifies the verify_callback function to be used. If no callback function shall be specified, the NULL pointer can be used for ... |
SSL_CTX_use_certificate(3) -- load certificate and key data
|
These functions load the certificates and private keys into the SSL_CTX or SSL object, respectively. The SSL_CTX_* class of functions loads the certificates and keys into the SSL_CTX object ctx. The i... |
SSL_do_handshake(3) -- perform a TLS/SSL handshake
|
SSL_do_handshake() will wait for a SSL/TLS handshake to take place. If the connection is in client mode, the handshake will be started. The handshake routines may have to be explicitly set in advance ... |
SSL_free(3) -- free an allocated SSL structure
|
SSL_free() decrements the reference count of ssl, and removes the SSL structure pointed to by ssl and frees up the allocated memory if the the reference count has reached 0. |
SSL_get_ciphers(3) -- get list of available SSL_CIPHERs
|
SSL_get_ciphers() returns the stack of available SSL_CIPHERs for ssl, sorted by preference. If ssl is NULL or no ciphers are available, NULL is returned. SSL_get_cipher_list() returns a pointer to the... |
SSL_get_client_CA_list(3) -- get list of client CAs
|
SSL_CTX_get_client_CA_list() returns the list of client CAs explicitly set for ctx using SSL_CTX_set_client_CA_list(3). SSL_get_client_CA_list() returns the list of client CAs explicitly set for ssl u... |
SSL_get_current_cipher(3) -- get SSL_CIPHER of a connection
|
SSL_get_current_cipher() returns a pointer to an SSL_CIPHER object containing the description of the actually used cipher of a connection established with the ssl object. SSL_get_cipher() and SSL_get_... |
SSL_get_default_timeout(3) -- get default session timeout value
|
SSL_get_default_timeout() returns the default timeout value assigned to SSL_SESSION objects negotiated for the protocol valid for ssl. |
SSL_get_error(3) -- obtain result code for TLS/SSL I/O operation
|
SSL_get_error() returns a result code (suitable for the C "switch" statement) for a preceding call to SSL_connect(), SSL_accept(), SSL_do_handshake(), SSL_read(), SSL_peek(), or SSL_write() on ssl. ... |