mirror of
https://github.com/openssl/openssl.git
synced 2024-11-29 13:03:55 +08:00
173 lines
3.9 KiB
Plaintext
173 lines
3.9 KiB
Plaintext
SSL_CTX_sessions(SSL_CTX *ctx) - the session-id hash table.
|
|
|
|
/* Session-id cache stats */
|
|
SSL_CTX_sess_number
|
|
SSL_CTX_sess_connect
|
|
SSL_CTX_sess_connect_good
|
|
SSL_CTX_sess_accept
|
|
SSL_CTX_sess_accept_good
|
|
SSL_CTX_sess_hits
|
|
SSL_CTX_sess_cb_hits
|
|
SSL_CTX_sess_misses
|
|
SSL_CTX_sess_timeouts
|
|
|
|
/* Session-id application notification callbacks */
|
|
SSL_CTX_sess_set_new_cb
|
|
SSL_CTX_sess_get_new_cb
|
|
SSL_CTX_sess_set_get_cb
|
|
SSL_CTX_sess_get_get_cb
|
|
|
|
/* Session-id cache operation mode */
|
|
SSL_CTX_set_session_cache_mode
|
|
SSL_CTX_get_session_cache_mode
|
|
|
|
/* Set default timeout values to use. */
|
|
SSL_CTX_set_timeout
|
|
SSL_CTX_get_timeout
|
|
|
|
/* Global SSL initalisation informational callback */
|
|
SSL_CTX_set_info_callback
|
|
SSL_CTX_get_info_callback
|
|
SSL_set_info_callback
|
|
SSL_get_info_callback
|
|
|
|
/* If the SSL_accept/SSL_connect returned with -1, these indicate when
|
|
* we should re-call *.
|
|
SSL_want
|
|
SSL_want_nothing
|
|
SSL_want_read
|
|
SSL_want_write
|
|
SSL_want_x509_lookup
|
|
|
|
/* Where we are in SSL initalisation, used in non-blocking, perhaps
|
|
* have a look at ssl/bio_ssl.c */
|
|
SSL_state
|
|
SSL_is_init_finished
|
|
SSL_in_init
|
|
SSL_in_connect_init
|
|
SSL_in_accept_init
|
|
|
|
/* Used to set the 'inital' state so SSL_in_connect_init and SSL_in_accept_init
|
|
* can be used to work out which function to call. */
|
|
SSL_set_connect_state
|
|
SSL_set_accept_state
|
|
|
|
/* Where to look for certificates for authentication */
|
|
SSL_set_default_verify_paths /* calles SSL_load_verify_locations */
|
|
SSL_load_verify_locations
|
|
|
|
/* get info from an established connection */
|
|
SSL_get_session
|
|
SSL_get_certificate
|
|
SSL_get_SSL_CTX
|
|
|
|
SSL_CTX_new
|
|
SSL_CTX_free
|
|
SSL_new
|
|
SSL_clear
|
|
SSL_free
|
|
|
|
SSL_CTX_set_cipher_list
|
|
SSL_get_cipher
|
|
SSL_set_cipher_list
|
|
SSL_get_cipher_list
|
|
SSL_get_shared_ciphers
|
|
|
|
SSL_accept
|
|
SSL_connect
|
|
SSL_read
|
|
SSL_write
|
|
|
|
SSL_debug
|
|
|
|
SSL_get_read_ahead
|
|
SSL_set_read_ahead
|
|
SSL_set_verify
|
|
|
|
SSL_pending
|
|
|
|
SSL_set_fd
|
|
SSL_set_rfd
|
|
SSL_set_wfd
|
|
SSL_set_bio
|
|
SSL_get_fd
|
|
SSL_get_rbio
|
|
SSL_get_wbio
|
|
|
|
SSL_use_RSAPrivateKey
|
|
SSL_use_RSAPrivateKey_ASN1
|
|
SSL_use_RSAPrivateKey_file
|
|
SSL_use_PrivateKey
|
|
SSL_use_PrivateKey_ASN1
|
|
SSL_use_PrivateKey_file
|
|
SSL_use_certificate
|
|
SSL_use_certificate_ASN1
|
|
SSL_use_certificate_file
|
|
|
|
ERR_load_SSL_strings
|
|
SSL_load_error_strings
|
|
|
|
/* human readable version of the 'state' of the SSL connection. */
|
|
SSL_state_string
|
|
SSL_state_string_long
|
|
/* These 2 report what kind of IO operation the library was trying to
|
|
* perform last. Probably not very usefull. */
|
|
SSL_rstate_string
|
|
SSL_rstate_string_long
|
|
|
|
SSL_get_peer_certificate
|
|
|
|
SSL_SESSION_new
|
|
SSL_SESSION_print_fp
|
|
SSL_SESSION_print
|
|
SSL_SESSION_free
|
|
i2d_SSL_SESSION
|
|
d2i_SSL_SESSION
|
|
|
|
SSL_get_time
|
|
SSL_set_time
|
|
SSL_get_timeout
|
|
SSL_set_timeout
|
|
SSL_copy_session_id
|
|
SSL_set_session
|
|
SSL_CTX_add_session
|
|
SSL_CTX_remove_session
|
|
SSL_CTX_flush_sessions
|
|
|
|
BIO_f_ssl
|
|
|
|
/* used to hold information as to why a certificate verification failed */
|
|
SSL_set_verify_result
|
|
SSL_get_verify_result
|
|
|
|
/* can be used by the application to associate data with an SSL structure.
|
|
* It needs to be 'free()ed' by the application */
|
|
SSL_set_app_data
|
|
SSL_get_app_data
|
|
|
|
/* The following all set values that are kept in the SSL_CTX but
|
|
* are used as the default values when an SSL session is created.
|
|
* They are over writen by the relevent SSL_xxxx functions */
|
|
|
|
/* SSL_set_verify */
|
|
void SSL_CTX_set_default_verify
|
|
|
|
/* This callback, if set, totaly overrides the normal SSLeay verification
|
|
* functions and should return 1 on sucesss and 0 on failure */
|
|
void SSL_CTX_set_cert_verify_callback
|
|
|
|
/* The following are the same as the equivilent SSL_xxx functions.
|
|
* Only one copy of this information is kept and if a particular
|
|
* SSL structure has a local override, it is totally separate structure.
|
|
*/
|
|
int SSL_CTX_use_RSAPrivateKey
|
|
int SSL_CTX_use_RSAPrivateKey_ASN1
|
|
int SSL_CTX_use_RSAPrivateKey_file
|
|
int SSL_CTX_use_PrivateKey
|
|
int SSL_CTX_use_PrivateKey_ASN1
|
|
int SSL_CTX_use_PrivateKey_file
|
|
int SSL_CTX_use_certificate
|
|
int SSL_CTX_use_certificate_ASN1
|
|
int SSL_CTX_use_certificate_file
|
|
|