Lines Matching full:s
47 .\" Escape single quotes in literal strings from groff's Unicode transform.
147 The OpenSSL \fBssl\fR library implements the Secure Sockets Layer (\s-1SSL\s0 v2/v3) and
148 Transport Layer Security (\s-1TLS\s0 v1) protocols. It provides a rich \s-1API\s0 which is
154 Then an \fB\s-1SSL_CTX\s0\fR object is created as a framework to establish
155 \&\s-1TLS/SSL\s0 enabled connections (see \fISSL_CTX_new\fR\|(3)).
160 \&\fB\s-1SSL\s0\fR object. After the \fB\s-1SSL\s0\fR object has been created using
165 Then the \s-1TLS/SSL\s0 handshake is performed using
169 to read and write data on the \s-1TLS/SSL\s0 connection.
171 \&\s-1TLS/SSL\s0 connection.
176 .IP "\fB\s-1SSL_METHOD\s0\fR (\s-1SSL\s0 Method)" 4
178 That's a dispatch structure describing the internal \fBssl\fR library
180 and TLSv1). It's needed to create an \fB\s-1SSL_CTX\s0\fR.
181 .IP "\fB\s-1SSL_CIPHER\s0\fR (\s-1SSL\s0 Cipher)" 4
184 are a core part of the \s-1SSL/TLS\s0 protocol. The available ciphers are configured
185 on a \fB\s-1SSL_CTX\s0\fR basis and the actually used ones are then part of the
186 \&\fB\s-1SSL_SESSION\s0\fR.
187 .IP "\fB\s-1SSL_CTX\s0\fR (\s-1SSL\s0 Context)" 4
189 That's the global context structure which is created by a server or client
191 \&\fB\s-1SSL\s0\fR structures which are later created for the connections.
192 .IP "\fB\s-1SSL_SESSION\s0\fR (\s-1SSL\s0 Session)" 4
194 This is a structure containing the current \s-1TLS/SSL\s0 session details for a
195 connection: \fB\s-1SSL_CIPHER\s0\fRs, client and server certificates, keys, etc.
196 .IP "\fB\s-1SSL\s0\fR (\s-1SSL\s0 Connection)" 4
198 That's the main \s-1SSL/TLS\s0 structure which is created by a server or client per
199 established connection. This actually is the core structure in the \s-1SSL API.\s0
208 That's the common header file for the \s-1SSL/TLS API. \s0 Include it into your
209 program to make the \s-1API\s0 of the \fBssl\fR library available. It internally
210 includes both more private \s-1SSL\s0 headers and headers from the \fBcrypto\fR library.
211 Whenever you need hard-core details on the internals of the \s-1SSL API,\s0 look
215 That's the sub header file dealing with the SSLv2 protocol only.
217 it's already included by ssl.h\fR.
220 That's the sub header file dealing with the SSLv3 protocol only.
222 it's already included by ssl.h\fR.
225 That's the sub header file dealing with the combined use of the SSLv2 and
228 it's already included by ssl.h\fR.
231 That's the sub header file dealing with the TLSv1 protocol only.
233 it's already included by ssl.h\fR.
236 Currently the OpenSSL \fBssl\fR library exports 214 \s-1API\s0 functions.
238 .SS "\s-1DEALING WITH PROTOCOL METHODS\s0"
240 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
241 protocol methods defined in \fB\s-1SSL_METHOD\s0\fR structures.
242 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv23_method\fR(void);" 4
244 Constructor for the \fIversion-flexible\fR \s-1SSL_METHOD\s0 structure for
247 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv23_client_method\fR(void);" 4
249 Constructor for the \fIversion-flexible\fR \s-1SSL_METHOD\s0 structure for
251 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv23_client_method\fR(void);" 4
253 Constructor for the \fIversion-flexible\fR \s-1SSL_METHOD\s0 structure for
255 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_2_method\fR(void);" 4
257 Constructor for the TLSv1.2 \s-1SSL_METHOD\s0 structure for clients, servers
259 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_2_client_method\fR(void);" 4
261 Constructor for the TLSv1.2 \s-1SSL_METHOD\s0 structure for clients.
262 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_2_server_method\fR(void);" 4
264 Constructor for the TLSv1.2 \s-1SSL_METHOD\s0 structure for servers.
265 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_1_method\fR(void);" 4
267 Constructor for the TLSv1.1 \s-1SSL_METHOD\s0 structure for clients, servers
269 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_1_client_method\fR(void);" 4
271 Constructor for the TLSv1.1 \s-1SSL_METHOD\s0 structure for clients.
272 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_1_server_method\fR(void);" 4
274 Constructor for the TLSv1.1 \s-1SSL_METHOD\s0 structure for servers.
275 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_method\fR(void);" 4
277 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for clients, servers
279 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_client_method\fR(void);" 4
281 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for clients.
282 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_server_method\fR(void);" 4
284 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for servers.
285 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_method\fR(void);" 4
287 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for clients, servers
289 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_client_method\fR(void);" 4
291 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for clients.
292 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_server_method\fR(void);" 4
294 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for servers.
295 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv2_method\fR(void);" 4
297 Constructor for the SSLv2 \s-1SSL_METHOD\s0 structure for clients, servers
299 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv2_client_method\fR(void);" 4
301 Constructor for the SSLv2 \s-1SSL_METHOD\s0 structure for clients.
302 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv2_server_method\fR(void);" 4
304 Constructor for the SSLv2 \s-1SSL_METHOD\s0 structure for servers.
305 .SS "\s-1DEALING WITH CIPHERS\s0"
307 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
308 ciphers defined in \fB\s-1SSL_CIPHER\s0\fR structures.
309 .IP "char *\fBSSL_CIPHER_description\fR(\s-1SSL_CIPHER\s0 *cipher, char *buf, int len);" 4
313 .IP "int \fBSSL_CIPHER_get_bits\fR(\s-1SSL_CIPHER\s0 *cipher, int *alg_bits);" 4
318 .IP "const char *\fBSSL_CIPHER_get_name\fR(\s-1SSL_CIPHER\s0 *cipher);" 4
323 .IP "char *\fBSSL_CIPHER_get_version\fR(\s-1SSL_CIPHER\s0 *cipher);" 4
326 \&\s-1SSL/TLS\s0 protocol version to which \fIcipher\fR belongs (i.e. where it was defined
328 .SS "\s-1DEALING WITH PROTOCOL CONTEXTS\s0"
330 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
331 protocol context defined in the \fB\s-1SSL_CTX\s0\fR structure.
332 .IP "int \fBSSL_CTX_add_client_CA\fR(\s-1SSL_CTX\s0 *ctx, X509 *x);" 4
335 .IP "long \fBSSL_CTX_add_extra_chain_cert\fR(\s-1SSL_CTX\s0 *ctx, X509 *x509);" 4
337 .IP "int \fBSSL_CTX_add_session\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *c);" 4
339 .IP "int \fBSSL_CTX_check_private_key\fR(const \s-1SSL_CTX\s0 *ctx);" 4
341 .IP "long \fBSSL_CTX_ctrl\fR(\s-1SSL_CTX\s0 *ctx, int cmd, long larg, char *parg);" 4
343 .IP "void \fBSSL_CTX_flush_sessions\fR(\s-1SSL_CTX\s0 *s, long t);" 4
344 .IX Item "void SSL_CTX_flush_sessions(SSL_CTX *s, long t);"
345 .IP "void \fBSSL_CTX_free\fR(\s-1SSL_CTX\s0 *a);" 4
347 .IP "char *\fBSSL_CTX_get_app_data\fR(\s-1SSL_CTX\s0 *ctx);" 4
349 .IP "X509_STORE *\fBSSL_CTX_get_cert_store\fR(\s-1SSL_CTX\s0 *ctx);" 4
351 .IP "\s-1STACK\s0 *\fBSSL_CTX_get_client_CA_list\fR(const \s-1SSL_CTX\s0 *ctx);" 4
353 .IP "int (*\fBSSL_CTX_get_client_cert_cb\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, X509 **x509, \s-…
355 .IP "void \fBSSL_CTX_get_default_read_ahead\fR(\s-1SSL_CTX\s0 *ctx);" 4
357 .IP "char *\fBSSL_CTX_get_ex_data\fR(const \s-1SSL_CTX\s0 *s, int idx);" 4
358 .IX Item "char *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx);"
361 .IP "void (*\fBSSL_CTX_get_info_callback\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, int cb, int ret)…
363 .IP "int \fBSSL_CTX_get_quiet_shutdown\fR(const \s-1SSL_CTX\s0 *ctx);" 4
365 .IP "void \fBSSL_CTX_get_read_ahead\fR(\s-1SSL_CTX\s0 *ctx);" 4
367 .IP "int \fBSSL_CTX_get_session_cache_mode\fR(\s-1SSL_CTX\s0 *ctx);" 4
369 .IP "long \fBSSL_CTX_get_timeout\fR(const \s-1SSL_CTX\s0 *ctx);" 4
371 .IP "int (*\fBSSL_CTX_get_verify_callback\fR(const \s-1SSL_CTX\s0 *ctx))(int ok, X509_STORE_CTX *ct…
373 .IP "int \fBSSL_CTX_get_verify_mode\fR(\s-1SSL_CTX\s0 *ctx);" 4
375 .IP "int \fBSSL_CTX_load_verify_locations\fR(\s-1SSL_CTX\s0 *ctx, char *CAfile, char *CApath);" 4
377 .IP "long \fBSSL_CTX_need_tmp_RSA\fR(\s-1SSL_CTX\s0 *ctx);" 4
379 .IP "\s-1SSL_CTX\s0 *\fBSSL_CTX_new\fR(const \s-1SSL_METHOD\s0 *meth);" 4
381 .IP "int \fBSSL_CTX_remove_session\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *c);" 4
383 .IP "int \fBSSL_CTX_sess_accept\fR(\s-1SSL_CTX\s0 *ctx);" 4
385 .IP "int \fBSSL_CTX_sess_accept_good\fR(\s-1SSL_CTX\s0 *ctx);" 4
387 .IP "int \fBSSL_CTX_sess_accept_renegotiate\fR(\s-1SSL_CTX\s0 *ctx);" 4
389 .IP "int \fBSSL_CTX_sess_cache_full\fR(\s-1SSL_CTX\s0 *ctx);" 4
391 .IP "int \fBSSL_CTX_sess_cb_hits\fR(\s-1SSL_CTX\s0 *ctx);" 4
393 .IP "int \fBSSL_CTX_sess_connect\fR(\s-1SSL_CTX\s0 *ctx);" 4
395 .IP "int \fBSSL_CTX_sess_connect_good\fR(\s-1SSL_CTX\s0 *ctx);" 4
397 .IP "int \fBSSL_CTX_sess_connect_renegotiate\fR(\s-1SSL_CTX\s0 *ctx);" 4
399 .IP "int \fBSSL_CTX_sess_get_cache_size\fR(\s-1SSL_CTX\s0 *ctx);" 4
401 .IP "\s-1SSL_SESSION\s0 *(*\fBSSL_CTX_sess_get_get_cb\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, uns…
403 .IP "int (*\fBSSL_CTX_sess_get_new_cb\fR(\s-1SSL_CTX\s0 *ctx)(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *…
405 .IP "void (*\fBSSL_CTX_sess_get_remove_cb\fR(\s-1SSL_CTX\s0 *ctx)(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESS…
407 .IP "int \fBSSL_CTX_sess_hits\fR(\s-1SSL_CTX\s0 *ctx);" 4
409 .IP "int \fBSSL_CTX_sess_misses\fR(\s-1SSL_CTX\s0 *ctx);" 4
411 .IP "int \fBSSL_CTX_sess_number\fR(\s-1SSL_CTX\s0 *ctx);" 4
413 .IP "void \fBSSL_CTX_sess_set_cache_size\fR(\s-1SSL_CTX\s0 *ctx,t);" 4
415 .IP "void \fBSSL_CTX_sess_set_get_cb\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *(*cb)(\s-1SSL\s0 *…
417 .IP "void \fBSSL_CTX_sess_set_new_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(\s-1SSL\s0 *ssl, \s-1SSL_SES…
419 .IP "void \fBSSL_CTX_sess_set_remove_cb\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(\s-1SSL_CTX\s0 *ctx, \s-…
421 .IP "int \fBSSL_CTX_sess_timeouts\fR(\s-1SSL_CTX\s0 *ctx);" 4
423 .IP "\s-1LHASH\s0 *\fBSSL_CTX_sessions\fR(\s-1SSL_CTX\s0 *ctx);" 4
425 .IP "void \fBSSL_CTX_set_app_data\fR(\s-1SSL_CTX\s0 *ctx, void *arg);" 4
427 .IP "void \fBSSL_CTX_set_cert_store\fR(\s-1SSL_CTX\s0 *ctx, X509_STORE *cs);" 4
429 .IP "void \fBSSL_CTX_set_cert_verify_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(), char *arg)" 4
431 .IP "int \fBSSL_CTX_set_cipher_list\fR(\s-1SSL_CTX\s0 *ctx, char *str);" 4
433 .IP "void \fBSSL_CTX_set_client_CA_list\fR(\s-1SSL_CTX\s0 *ctx, \s-1STACK\s0 *list);" 4
435 .IP "void \fBSSL_CTX_set_client_cert_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(\s-1SSL\s0 *ssl, X509 **x…
437 .IP "void \fBSSL_CTX_set_default_passwd_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb);(void))" 4
439 .IP "void \fBSSL_CTX_set_default_read_ahead\fR(\s-1SSL_CTX\s0 *ctx, int m);" 4
441 .IP "int \fBSSL_CTX_set_default_verify_paths\fR(\s-1SSL_CTX\s0 *ctx);" 4
443 .IP "int \fBSSL_CTX_set_ex_data\fR(\s-1SSL_CTX\s0 *s, int idx, char *arg);" 4
444 .IX Item "int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, char *arg);"
445 .IP "void \fBSSL_CTX_set_info_callback\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(\s-1SSL\s0 *ssl, int cb, …
447 …X_set_msg_callback\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(int write_p, int version, int content_type, …
449 .IP "void \fBSSL_CTX_set_msg_callback_arg\fR(\s-1SSL_CTX\s0 *ctx, void *arg);" 4
451 .IP "void \fBSSL_CTX_set_options\fR(\s-1SSL_CTX\s0 *ctx, unsigned long op);" 4
453 .IP "void \fBSSL_CTX_set_quiet_shutdown\fR(\s-1SSL_CTX\s0 *ctx, int mode);" 4
455 .IP "void \fBSSL_CTX_set_read_ahead\fR(\s-1SSL_CTX\s0 *ctx, int m);" 4
457 .IP "void \fBSSL_CTX_set_session_cache_mode\fR(\s-1SSL_CTX\s0 *ctx, int mode);" 4
459 .IP "int \fBSSL_CTX_set_ssl_version\fR(\s-1SSL_CTX\s0 *ctx, const \s-1SSL_METHOD\s0 *meth);" 4
461 .IP "void \fBSSL_CTX_set_timeout\fR(\s-1SSL_CTX\s0 *ctx, long t);" 4
463 .IP "long \fBSSL_CTX_set_tmp_dh\fR(SSL_CTX* ctx, \s-1DH\s0 *dh);" 4
465 .IP "long \fBSSL_CTX_set_tmp_dh_callback\fR(\s-1SSL_CTX\s0 *ctx, \s-1DH\s0 *(*cb)(void));" 4
467 .IP "long \fBSSL_CTX_set_tmp_rsa\fR(\s-1SSL_CTX\s0 *ctx, \s-1RSA\s0 *rsa);" 4
481 long \fBSSL_set_tmp_rsa_callback\fR(\s-1SSL\s0 *ssl, \s-1RSA\s0 *(*cb)(\s-1SSL\s0 *ssl, int export,…
483 The same as \fBSSL_CTX_set_tmp_rsa_callback\fR, except it operates on an \s-1SSL\s0
485 .IP "void \fBSSL_CTX_set_verify\fR(\s-1SSL_CTX\s0 *ctx, int mode, int (*cb);(void))" 4
488 .IP "int \fBSSL_CTX_use_PrivateKey\fR(\s-1SSL_CTX\s0 *ctx, \s-1EVP_PKEY\s0 *pkey);" 4
490 .IP "int \fBSSL_CTX_use_PrivateKey_ASN1\fR(int type, \s-1SSL_CTX\s0 *ctx, unsigned char *d, long le…
492 .IP "int \fBSSL_CTX_use_PrivateKey_file\fR(\s-1SSL_CTX\s0 *ctx, char *file, int type);" 4
494 .IP "int \fBSSL_CTX_use_RSAPrivateKey\fR(\s-1SSL_CTX\s0 *ctx, \s-1RSA\s0 *rsa);" 4
496 .IP "int \fBSSL_CTX_use_RSAPrivateKey_ASN1\fR(\s-1SSL_CTX\s0 *ctx, unsigned char *d, long len);" 4
498 .IP "int \fBSSL_CTX_use_RSAPrivateKey_file\fR(\s-1SSL_CTX\s0 *ctx, char *file, int type);" 4
500 .IP "int \fBSSL_CTX_use_certificate\fR(\s-1SSL_CTX\s0 *ctx, X509 *x);" 4
502 .IP "int \fBSSL_CTX_use_certificate_ASN1\fR(\s-1SSL_CTX\s0 *ctx, int len, unsigned char *d);" 4
504 .IP "int \fBSSL_CTX_use_certificate_file\fR(\s-1SSL_CTX\s0 *ctx, char *file, int type);" 4
506 .IP "X509 *\fBSSL_CTX_get0_certificate\fR(const \s-1SSL_CTX\s0 *ctx);" 4
508 .IP "\s-1EVP_PKEY\s0 *\fBSSL_CTX_get0_privatekey\fR(const \s-1SSL_CTX\s0 *ctx);" 4
510 .IP "void \fBSSL_CTX_set_psk_client_callback\fR(\s-1SSL_CTX\s0 *ctx, unsigned int (*callback)(\s-1S…
512 .IP "int \fBSSL_CTX_use_psk_identity_hint\fR(\s-1SSL_CTX\s0 *ctx, const char *hint);" 4
514 .IP "void \fBSSL_CTX_set_psk_server_callback\fR(\s-1SSL_CTX\s0 *ctx, unsigned int (*callback)(\s-1S…
517 .SS "\s-1DEALING WITH SESSIONS\s0"
519 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
520 sessions defined in the \fB\s-1SSL_SESSION\s0\fR structures.
521 .IP "int \fBSSL_SESSION_cmp\fR(const \s-1SSL_SESSION\s0 *a, const \s-1SSL_SESSION\s0 *b);" 4
524 .IP "void \fBSSL_SESSION_free\fR(\s-1SSL_SESSION\s0 *ss);" 4
526 .IP "char *\fBSSL_SESSION_get_app_data\fR(\s-1SSL_SESSION\s0 *s);" 4
527 .IX Item "char *SSL_SESSION_get_app_data(SSL_SESSION *s);"
528 .IP "char *\fBSSL_SESSION_get_ex_data\fR(const \s-1SSL_SESSION\s0 *s, int idx);" 4
529 .IX Item "char *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx);"
532 .IP "long \fBSSL_SESSION_get_time\fR(const \s-1SSL_SESSION\s0 *s);" 4
533 .IX Item "long SSL_SESSION_get_time(const SSL_SESSION *s);"
534 .IP "long \fBSSL_SESSION_get_timeout\fR(const \s-1SSL_SESSION\s0 *s);" 4
535 .IX Item "long SSL_SESSION_get_timeout(const SSL_SESSION *s);"
536 .IP "unsigned long \fBSSL_SESSION_hash\fR(const \s-1SSL_SESSION\s0 *a);" 4
538 .IP "\s-1SSL_SESSION\s0 *\fBSSL_SESSION_new\fR(void);" 4
540 .IP "int \fBSSL_SESSION_print\fR(\s-1BIO\s0 *bp, const \s-1SSL_SESSION\s0 *x);" 4
542 .IP "int \fBSSL_SESSION_print_fp\fR(\s-1FILE\s0 *fp, const \s-1SSL_SESSION\s0 *x);" 4
544 .IP "void \fBSSL_SESSION_set_app_data\fR(\s-1SSL_SESSION\s0 *s, char *a);" 4
545 .IX Item "void SSL_SESSION_set_app_data(SSL_SESSION *s, char *a);"
546 .IP "int \fBSSL_SESSION_set_ex_data\fR(\s-1SSL_SESSION\s0 *s, int idx, char *arg);" 4
547 .IX Item "int SSL_SESSION_set_ex_data(SSL_SESSION *s, int idx, char *arg);"
548 .IP "long \fBSSL_SESSION_set_time\fR(\s-1SSL_SESSION\s0 *s, long t);" 4
549 .IX Item "long SSL_SESSION_set_time(SSL_SESSION *s, long t);"
550 .IP "long \fBSSL_SESSION_set_timeout\fR(\s-1SSL_SESSION\s0 *s, long t);" 4
551 .IX Item "long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);"
553 .SS "\s-1DEALING WITH CONNECTIONS\s0"
555 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
556 connection defined in the \fB\s-1SSL\s0\fR structure.
557 .IP "int \fBSSL_accept\fR(\s-1SSL\s0 *ssl);" 4
560 .IP "int \fBSSL_add_dir_cert_subjects_to_stack\fR(\s-1STACK\s0 *stack, const char *dir);" 4
562 .IP "int \fBSSL_add_file_cert_subjects_to_stack\fR(\s-1STACK\s0 *stack, const char *file);" 4
564 .IP "int \fBSSL_add_client_CA\fR(\s-1SSL\s0 *ssl, X509 *x);" 4
574 .IP "int \fBSSL_check_private_key\fR(const \s-1SSL\s0 *ssl);" 4
576 .IP "void \fBSSL_clear\fR(\s-1SSL\s0 *ssl);" 4
578 .IP "long \fBSSL_clear_num_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
580 .IP "int \fBSSL_connect\fR(\s-1SSL\s0 *ssl);" 4
582 .IP "void \fBSSL_copy_session_id\fR(\s-1SSL\s0 *t, const \s-1SSL\s0 *f);" 4
584 .IP "long \fBSSL_ctrl\fR(\s-1SSL\s0 *ssl, int cmd, long larg, char *parg);" 4
586 .IP "int \fBSSL_do_handshake\fR(\s-1SSL\s0 *ssl);" 4
588 .IP "\s-1SSL\s0 *\fBSSL_dup\fR(\s-1SSL\s0 *ssl);" 4
590 .IP "\s-1STACK\s0 *\fBSSL_dup_CA_list\fR(\s-1STACK\s0 *sk);" 4
592 .IP "void \fBSSL_free\fR(\s-1SSL\s0 *ssl);" 4
594 .IP "\s-1SSL_CTX\s0 *\fBSSL_get_SSL_CTX\fR(const \s-1SSL\s0 *ssl);" 4
596 .IP "char *\fBSSL_get_app_data\fR(\s-1SSL\s0 *ssl);" 4
598 .IP "X509 *\fBSSL_get_certificate\fR(const \s-1SSL\s0 *ssl);" 4
600 .IP "const char *\fBSSL_get_cipher\fR(const \s-1SSL\s0 *ssl);" 4
602 .IP "int \fBSSL_get_cipher_bits\fR(const \s-1SSL\s0 *ssl, int *alg_bits);" 4
604 .IP "char *\fBSSL_get_cipher_list\fR(const \s-1SSL\s0 *ssl, int n);" 4
606 .IP "char *\fBSSL_get_cipher_name\fR(const \s-1SSL\s0 *ssl);" 4
608 .IP "char *\fBSSL_get_cipher_version\fR(const \s-1SSL\s0 *ssl);" 4
610 .IP "\s-1STACK\s0 *\fBSSL_get_ciphers\fR(const \s-1SSL\s0 *ssl);" 4
612 .IP "\s-1STACK\s0 *\fBSSL_get_client_CA_list\fR(const \s-1SSL\s0 *ssl);" 4
614 .IP "\s-1SSL_CIPHER\s0 *\fBSSL_get_current_cipher\fR(\s-1SSL\s0 *ssl);" 4
616 .IP "long \fBSSL_get_default_timeout\fR(const \s-1SSL\s0 *ssl);" 4
618 .IP "int \fBSSL_get_error\fR(const \s-1SSL\s0 *ssl, int i);" 4
620 .IP "char *\fBSSL_get_ex_data\fR(const \s-1SSL\s0 *ssl, int idx);" 4
626 .IP "int \fBSSL_get_fd\fR(const \s-1SSL\s0 *ssl);" 4
628 .IP "void (*\fBSSL_get_info_callback\fR(const \s-1SSL\s0 *ssl);)()" 4
630 .IP "\s-1STACK\s0 *\fBSSL_get_peer_cert_chain\fR(const \s-1SSL\s0 *ssl);" 4
632 .IP "X509 *\fBSSL_get_peer_certificate\fR(const \s-1SSL\s0 *ssl);" 4
634 .IP "\s-1EVP_PKEY\s0 *\fBSSL_get_privatekey\fR(const \s-1SSL\s0 *ssl);" 4
636 .IP "int \fBSSL_get_quiet_shutdown\fR(const \s-1SSL\s0 *ssl);" 4
638 .IP "\s-1BIO\s0 *\fBSSL_get_rbio\fR(const \s-1SSL\s0 *ssl);" 4
640 .IP "int \fBSSL_get_read_ahead\fR(const \s-1SSL\s0 *ssl);" 4
642 .IP "\s-1SSL_SESSION\s0 *\fBSSL_get_session\fR(const \s-1SSL\s0 *ssl);" 4
644 .IP "char *\fBSSL_get_shared_ciphers\fR(const \s-1SSL\s0 *ssl, char *buf, int len);" 4
646 .IP "int \fBSSL_get_shutdown\fR(const \s-1SSL\s0 *ssl);" 4
648 .IP "const \s-1SSL_METHOD\s0 *\fBSSL_get_ssl_method\fR(\s-1SSL\s0 *ssl);" 4
650 .IP "int \fBSSL_get_state\fR(const \s-1SSL\s0 *ssl);" 4
652 .IP "long \fBSSL_get_time\fR(const \s-1SSL\s0 *ssl);" 4
654 .IP "long \fBSSL_get_timeout\fR(const \s-1SSL\s0 *ssl);" 4
656 .IP "int (*\fBSSL_get_verify_callback\fR(const \s-1SSL\s0 *ssl))(int,X509_STORE_CTX *)" 4
658 .IP "int \fBSSL_get_verify_mode\fR(const \s-1SSL\s0 *ssl);" 4
660 .IP "long \fBSSL_get_verify_result\fR(const \s-1SSL\s0 *ssl);" 4
662 .IP "char *\fBSSL_get_version\fR(const \s-1SSL\s0 *ssl);" 4
664 .IP "\s-1BIO\s0 *\fBSSL_get_wbio\fR(const \s-1SSL\s0 *ssl);" 4
666 .IP "int \fBSSL_in_accept_init\fR(\s-1SSL\s0 *ssl);" 4
668 .IP "int \fBSSL_in_before\fR(\s-1SSL\s0 *ssl);" 4
670 .IP "int \fBSSL_in_connect_init\fR(\s-1SSL\s0 *ssl);" 4
672 .IP "int \fBSSL_in_init\fR(\s-1SSL\s0 *ssl);" 4
674 .IP "int \fBSSL_is_init_finished\fR(\s-1SSL\s0 *ssl);" 4
676 .IP "\s-1STACK\s0 *\fBSSL_load_client_CA_file\fR(char *file);" 4
680 .IP "\s-1SSL\s0 *\fBSSL_new\fR(\s-1SSL_CTX\s0 *ctx);" 4
682 .IP "long \fBSSL_num_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
684 .IP "int \fBSSL_peek\fR(\s-1SSL\s0 *ssl, void *buf, int num);" 4
686 .IP "int \fBSSL_pending\fR(const \s-1SSL\s0 *ssl);" 4
688 .IP "int \fBSSL_read\fR(\s-1SSL\s0 *ssl, void *buf, int num);" 4
690 .IP "int \fBSSL_renegotiate\fR(\s-1SSL\s0 *ssl);" 4
692 .IP "char *\fBSSL_rstate_string\fR(\s-1SSL\s0 *ssl);" 4
694 .IP "char *\fBSSL_rstate_string_long\fR(\s-1SSL\s0 *ssl);" 4
696 .IP "long \fBSSL_session_reused\fR(\s-1SSL\s0 *ssl);" 4
698 .IP "void \fBSSL_set_accept_state\fR(\s-1SSL\s0 *ssl);" 4
700 .IP "void \fBSSL_set_app_data\fR(\s-1SSL\s0 *ssl, char *arg);" 4
702 .IP "void \fBSSL_set_bio\fR(\s-1SSL\s0 *ssl, \s-1BIO\s0 *rbio, \s-1BIO\s0 *wbio);" 4
704 .IP "int \fBSSL_set_cipher_list\fR(\s-1SSL\s0 *ssl, char *str);" 4
706 .IP "void \fBSSL_set_client_CA_list\fR(\s-1SSL\s0 *ssl, \s-1STACK\s0 *list);" 4
708 .IP "void \fBSSL_set_connect_state\fR(\s-1SSL\s0 *ssl);" 4
710 .IP "int \fBSSL_set_ex_data\fR(\s-1SSL\s0 *ssl, int idx, char *arg);" 4
712 .IP "int \fBSSL_set_fd\fR(\s-1SSL\s0 *ssl, int fd);" 4
714 .IP "void \fBSSL_set_info_callback\fR(\s-1SSL\s0 *ssl, void (*cb);(void))" 4
716 …SSL_set_msg_callback\fR(\s-1SSL\s0 *ctx, void (*cb)(int write_p, int version, int content_type, co…
718 .IP "void \fBSSL_set_msg_callback_arg\fR(\s-1SSL\s0 *ctx, void *arg);" 4
720 .IP "void \fBSSL_set_options\fR(\s-1SSL\s0 *ssl, unsigned long op);" 4
722 .IP "void \fBSSL_set_quiet_shutdown\fR(\s-1SSL\s0 *ssl, int mode);" 4
724 .IP "void \fBSSL_set_read_ahead\fR(\s-1SSL\s0 *ssl, int yes);" 4
726 .IP "int \fBSSL_set_rfd\fR(\s-1SSL\s0 *ssl, int fd);" 4
728 .IP "int \fBSSL_set_session\fR(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *session);" 4
730 .IP "void \fBSSL_set_shutdown\fR(\s-1SSL\s0 *ssl, int mode);" 4
732 .IP "int \fBSSL_set_ssl_method\fR(\s-1SSL\s0 *ssl, const \s-1SSL_METHOD\s0 *meth);" 4
734 .IP "void \fBSSL_set_time\fR(\s-1SSL\s0 *ssl, long t);" 4
736 .IP "void \fBSSL_set_timeout\fR(\s-1SSL\s0 *ssl, long t);" 4
738 .IP "void \fBSSL_set_verify\fR(\s-1SSL\s0 *ssl, int mode, int (*callback);(void))" 4
740 .IP "void \fBSSL_set_verify_result\fR(\s-1SSL\s0 *ssl, long arg);" 4
742 .IP "int \fBSSL_set_wfd\fR(\s-1SSL\s0 *ssl, int fd);" 4
744 .IP "int \fBSSL_shutdown\fR(\s-1SSL\s0 *ssl);" 4
746 .IP "int \fBSSL_state\fR(const \s-1SSL\s0 *ssl);" 4
748 .IP "char *\fBSSL_state_string\fR(const \s-1SSL\s0 *ssl);" 4
750 .IP "char *\fBSSL_state_string_long\fR(const \s-1SSL\s0 *ssl);" 4
752 .IP "long \fBSSL_total_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
754 .IP "int \fBSSL_use_PrivateKey\fR(\s-1SSL\s0 *ssl, \s-1EVP_PKEY\s0 *pkey);" 4
756 .IP "int \fBSSL_use_PrivateKey_ASN1\fR(int type, \s-1SSL\s0 *ssl, unsigned char *d, long len);" 4
758 .IP "int \fBSSL_use_PrivateKey_file\fR(\s-1SSL\s0 *ssl, char *file, int type);" 4
760 .IP "int \fBSSL_use_RSAPrivateKey\fR(\s-1SSL\s0 *ssl, \s-1RSA\s0 *rsa);" 4
762 .IP "int \fBSSL_use_RSAPrivateKey_ASN1\fR(\s-1SSL\s0 *ssl, unsigned char *d, long len);" 4
764 .IP "int \fBSSL_use_RSAPrivateKey_file\fR(\s-1SSL\s0 *ssl, char *file, int type);" 4
766 .IP "int \fBSSL_use_certificate\fR(\s-1SSL\s0 *ssl, X509 *x);" 4
768 .IP "int \fBSSL_use_certificate_ASN1\fR(\s-1SSL\s0 *ssl, int len, unsigned char *d);" 4
770 .IP "int \fBSSL_use_certificate_file\fR(\s-1SSL\s0 *ssl, char *file, int type);" 4
772 .IP "int \fBSSL_version\fR(const \s-1SSL\s0 *ssl);" 4
774 .IP "int \fBSSL_want\fR(const \s-1SSL\s0 *ssl);" 4
776 .IP "int \fBSSL_want_nothing\fR(const \s-1SSL\s0 *ssl);" 4
778 .IP "int \fBSSL_want_read\fR(const \s-1SSL\s0 *ssl);" 4
780 .IP "int \fBSSL_want_write\fR(const \s-1SSL\s0 *ssl);" 4
782 .IP "int \fBSSL_want_x509_lookup\fR(const \s-1SSL\s0 *ssl);" 4
784 .IP "int \fBSSL_write\fR(\s-1SSL\s0 *ssl, const void *buf, int num);" 4
786 .IP "void \fBSSL_set_psk_client_callback\fR(\s-1SSL\s0 *ssl, unsigned int (*callback)(\s-1SSL\s0 *s…
788 .IP "int \fBSSL_use_psk_identity_hint\fR(\s-1SSL\s0 *ssl, const char *hint);" 4
790 .IP "void \fBSSL_set_psk_server_callback\fR(\s-1SSL\s0 *ssl, unsigned int (*callback)(\s-1SSL\s0 *s…
792 .IP "const char *\fBSSL_get_psk_identity_hint\fR(\s-1SSL\s0 *ssl);" 4
794 .IP "const char *\fBSSL_get_psk_identity\fR(\s-1SSL\s0 *ssl);" 4