*** empty log message ***
[openssl.git] / doc / ssl.doc
1 SSL_CTX_sessions(SSL_CTX *ctx) - the session-id hash table.
2
3 /* Session-id cache stats */
4 SSL_CTX_sess_number
5 SSL_CTX_sess_connect
6 SSL_CTX_sess_connect_good
7 SSL_CTX_sess_accept
8 SSL_CTX_sess_accept_good
9 SSL_CTX_sess_hits
10 SSL_CTX_sess_cb_hits
11 SSL_CTX_sess_misses
12 SSL_CTX_sess_timeouts
13
14 /* Session-id application notification callbacks */
15 SSL_CTX_sess_set_new_cb
16 SSL_CTX_sess_get_new_cb
17 SSL_CTX_sess_set_get_cb
18 SSL_CTX_sess_get_get_cb
19
20 /* Session-id cache operation mode */
21 SSL_CTX_set_session_cache_mode
22 SSL_CTX_get_session_cache_mode
23
24 /* Set default timeout values to use. */
25 SSL_CTX_set_timeout
26 SSL_CTX_get_timeout
27
28 /* Global  SSL initalisation informational callback */
29 SSL_CTX_set_info_callback
30 SSL_CTX_get_info_callback
31 SSL_set_info_callback
32 SSL_get_info_callback
33
34 /* If the SSL_accept/SSL_connect returned with -1, these indicate when
35  * we should re-call *.
36 SSL_want
37 SSL_want_nothing
38 SSL_want_read
39 SSL_want_write
40 SSL_want_x509_lookup
41
42 /* Where we are in SSL initalisation, used in non-blocking, perhaps
43  * have a look at ssl/bio_ssl.c */
44 SSL_state
45 SSL_is_init_finished
46 SSL_in_init
47 SSL_in_connect_init
48 SSL_in_accept_init
49
50 /* Used to set the 'inital' state so SSL_in_connect_init and SSL_in_accept_init
51  * can be used to work out which function to call. */
52 SSL_set_connect_state
53 SSL_set_accept_state
54
55 /* Where to look for certificates for authentication */
56 SSL_set_default_verify_paths /* calles SSL_load_verify_locations */
57 SSL_load_verify_locations
58
59 /* get info from an established connection */
60 SSL_get_session
61 SSL_get_certificate
62 SSL_get_SSL_CTX
63
64 SSL_CTX_new
65 SSL_CTX_free
66 SSL_new
67 SSL_clear
68 SSL_free
69
70 SSL_CTX_set_cipher_list
71 SSL_get_cipher
72 SSL_set_cipher_list
73 SSL_get_cipher_list
74 SSL_get_shared_ciphers
75
76 SSL_accept
77 SSL_connect
78 SSL_read
79 SSL_write
80
81 SSL_debug
82
83 SSL_get_read_ahead
84 SSL_set_read_ahead
85 SSL_set_verify
86
87 SSL_pending
88
89 SSL_set_fd
90 SSL_set_rfd
91 SSL_set_wfd
92 SSL_set_bio
93 SSL_get_fd
94 SSL_get_rbio
95 SSL_get_wbio
96
97 SSL_use_RSAPrivateKey
98 SSL_use_RSAPrivateKey_ASN1
99 SSL_use_RSAPrivateKey_file
100 SSL_use_PrivateKey
101 SSL_use_PrivateKey_ASN1
102 SSL_use_PrivateKey_file
103 SSL_use_certificate
104 SSL_use_certificate_ASN1
105 SSL_use_certificate_file
106
107 ERR_load_SSL_strings
108 SSL_load_error_strings
109
110 /* human readable version of the 'state' of the SSL connection. */
111 SSL_state_string
112 SSL_state_string_long
113 /* These 2 report what kind of IO operation the library was trying to
114  * perform last.  Probably not very usefull. */
115 SSL_rstate_string
116 SSL_rstate_string_long
117
118 SSL_get_peer_certificate
119
120 SSL_SESSION_new
121 SSL_SESSION_print_fp
122 SSL_SESSION_print
123 SSL_SESSION_free
124 i2d_SSL_SESSION
125 d2i_SSL_SESSION
126
127 SSL_get_time
128 SSL_set_time
129 SSL_get_timeout
130 SSL_set_timeout
131 SSL_copy_session_id
132 SSL_set_session
133 SSL_CTX_add_session
134 SSL_CTX_remove_session
135 SSL_CTX_flush_sessions
136
137 BIO_f_ssl
138
139 /* used to hold information as to why a certificate verification failed */
140 SSL_set_verify_result
141 SSL_get_verify_result
142
143 /* can be used by the application to associate data with an SSL structure.
144  * It needs to be 'free()ed' by the application */
145 SSL_set_app_data
146 SSL_get_app_data
147
148 /* The following all set values that are kept in the SSL_CTX but
149  * are used as the default values when an SSL session is created.
150  * They are over writen by the relevent SSL_xxxx functions */
151
152 /* SSL_set_verify */
153 void SSL_CTX_set_default_verify
154
155 /* This callback, if set, totaly overrides the normal SSLeay verification
156  * functions and should return 1 on sucesss and 0 on failure */
157 void SSL_CTX_set_cert_verify_callback
158
159 /* The following are the same as the equivilent SSL_xxx functions.
160  * Only one copy of this information is kept and if a particular
161  * SSL structure has a local override, it is totally separate structure.
162  */
163 int SSL_CTX_use_RSAPrivateKey
164 int SSL_CTX_use_RSAPrivateKey_ASN1
165 int SSL_CTX_use_RSAPrivateKey_file
166 int SSL_CTX_use_PrivateKey
167 int SSL_CTX_use_PrivateKey_ASN1
168 int SSL_CTX_use_PrivateKey_file
169 int SSL_CTX_use_certificate
170 int SSL_CTX_use_certificate_ASN1
171 int SSL_CTX_use_certificate_file
172