Lines Matching full:s
47 .\" Escape single quotes in literal strings from groff's Unicode transform.
152 The OpenSSL \fBssl\fR library implements the Secure Sockets Layer (\s-1SSL\s0 v2/v3) and
153 Transport Layer Security (\s-1TLS\s0 v1) protocols. It provides a rich \s-1API\s0 which is
156 An \fB\s-1SSL_CTX\s0\fR object is created as a framework to establish
157 \&\s-1TLS/SSL\s0 enabled connections (see \fBSSL_CTX_new\fR\|(3)).
162 \&\fB\s-1SSL\s0\fR object. After the \fB\s-1SSL\s0\fR object has been created using
167 When the \s-1TLS/SSL\s0 handshake is performed using
171 used to read and write data on the \s-1TLS/SSL\s0 connection.
173 \&\s-1TLS/SSL\s0 connection.
178 .IP "\fB\s-1SSL_METHOD\s0\fR (\s-1SSL\s0 Method)" 4
182 TLSv1, ...). It's needed to create an \fB\s-1SSL_CTX\s0\fR.
183 .IP "\fB\s-1SSL_CIPHER\s0\fR (\s-1SSL\s0 Cipher)" 4
186 are a core part of the \s-1SSL/TLS\s0 protocol. The available ciphers are configured
187 on a \fB\s-1SSL_CTX\s0\fR basis and the actual ones used are then part of the
188 \&\fB\s-1SSL_SESSION\s0\fR.
189 .IP "\fB\s-1SSL_CTX\s0\fR (\s-1SSL\s0 Context)" 4
193 \&\fB\s-1SSL\s0\fR structures which are later created for the connections.
194 .IP "\fB\s-1SSL_SESSION\s0\fR (\s-1SSL\s0 Session)" 4
196 This is a structure containing the current \s-1TLS/SSL\s0 session details for a
197 connection: \fB\s-1SSL_CIPHER\s0\fRs, client and server certificates, keys, etc.
198 .IP "\fB\s-1SSL\s0\fR (\s-1SSL\s0 Connection)" 4
200 This is the main \s-1SSL/TLS\s0 structure which is created by a server or client per
201 established connection. This actually is the core structure in the \s-1SSL API.\s0
210 This is the common header file for the \s-1SSL/TLS API.\s0 Include it into your
211 program to make the \s-1API\s0 of the \fBssl\fR library available. It internally
212 includes both more private \s-1SSL\s0 headers and headers from the \fBcrypto\fR library.
213 Whenever you need hard-core details on the internals of the \s-1SSL API,\s0 look
222 it's already included by ssl.h\fR.
227 it's already included by ssl.h\fR.
230 Currently the OpenSSL \fBssl\fR library exports 214 \s-1API\s0 functions.
234 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
235 protocol methods defined in \fB\s-1SSL_METHOD\s0\fR structures.
236 .IP "const \s-1SSL_METHOD\s0 *\fBTLS_method\fR(void);" 4
238 Constructor for the \fIversion-flexible\fR \s-1SSL_METHOD\s0 structure for clients,
241 .IP "const \s-1SSL_METHOD\s0 *\fBTLS_client_method\fR(void);" 4
243 Constructor for the \fIversion-flexible\fR \s-1SSL_METHOD\s0 structure for clients.
245 .IP "const \s-1SSL_METHOD\s0 *\fBTLS_server_method\fR(void);" 4
247 Constructor for the \fIversion-flexible\fR \s-1SSL_METHOD\s0 structure for servers.
249 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_2_method\fR(void);" 4
251 Constructor for the TLSv1.2 \s-1SSL_METHOD\s0 structure for clients, servers or both.
252 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_2_client_method\fR(void);" 4
254 Constructor for the TLSv1.2 \s-1SSL_METHOD\s0 structure for clients.
255 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_2_server_method\fR(void);" 4
257 Constructor for the TLSv1.2 \s-1SSL_METHOD\s0 structure for servers.
258 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_1_method\fR(void);" 4
260 Constructor for the TLSv1.1 \s-1SSL_METHOD\s0 structure for clients, servers or both.
261 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_1_client_method\fR(void);" 4
263 Constructor for the TLSv1.1 \s-1SSL_METHOD\s0 structure for clients.
264 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_1_server_method\fR(void);" 4
266 Constructor for the TLSv1.1 \s-1SSL_METHOD\s0 structure for servers.
267 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_method\fR(void);" 4
269 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for clients, servers or both.
270 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_client_method\fR(void);" 4
272 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for clients.
273 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_server_method\fR(void);" 4
275 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for servers.
276 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_method\fR(void);" 4
278 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for clients, servers or both.
279 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_client_method\fR(void);" 4
281 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for clients.
282 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_server_method\fR(void);" 4
284 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for servers.
287 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
288 ciphers defined in \fB\s-1SSL_CIPHER\s0\fR structures.
289 .IP "char *\fBSSL_CIPHER_description\fR(\s-1SSL_CIPHER\s0 *cipher, char *buf, int len);" 4
293 .IP "int \fBSSL_CIPHER_get_bits\fR(\s-1SSL_CIPHER\s0 *cipher, int *alg_bits);" 4
298 .IP "const char *\fBSSL_CIPHER_get_name\fR(\s-1SSL_CIPHER\s0 *cipher);" 4
303 .IP "const char *\fBSSL_CIPHER_get_version\fR(\s-1SSL_CIPHER\s0 *cipher);" 4
306 \&\s-1SSL/TLS\s0 protocol version to which \fIcipher\fR belongs (i.e. where it was defined
310 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
311 protocol context defined in the \fB\s-1SSL_CTX\s0\fR structure.
312 .IP "int \fBSSL_CTX_add_client_CA\fR(\s-1SSL_CTX\s0 *ctx, X509 *x);" 4
315 .IP "long \fBSSL_CTX_add_extra_chain_cert\fR(\s-1SSL_CTX\s0 *ctx, X509 *x509);" 4
317 .IP "int \fBSSL_CTX_add_session\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *c);" 4
319 .IP "int \fBSSL_CTX_check_private_key\fR(const \s-1SSL_CTX\s0 *ctx);" 4
321 .IP "long \fBSSL_CTX_ctrl\fR(\s-1SSL_CTX\s0 *ctx, int cmd, long larg, char *parg);" 4
323 .IP "void \fBSSL_CTX_flush_sessions\fR(\s-1SSL_CTX\s0 *s, long t);" 4
324 .IX Item "void SSL_CTX_flush_sessions(SSL_CTX *s, long t);"
325 .IP "void \fBSSL_CTX_free\fR(\s-1SSL_CTX\s0 *a);" 4
327 .IP "char *\fBSSL_CTX_get_app_data\fR(\s-1SSL_CTX\s0 *ctx);" 4
329 .IP "X509_STORE *\fBSSL_CTX_get_cert_store\fR(\s-1SSL_CTX\s0 *ctx);" 4
331 .IP "\s-1STACK\s0 *\fBSSL_CTX_get_ciphers\fR(const \s-1SSL_CTX\s0 *ctx);" 4
333 .IP "\s-1STACK\s0 *\fBSSL_CTX_get_client_CA_list\fR(const \s-1SSL_CTX\s0 *ctx);" 4
335 .IP "int (*\fBSSL_CTX_get_client_cert_cb\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, X509 **x509, \s-…
337 .IP "void \fBSSL_CTX_get_default_read_ahead\fR(\s-1SSL_CTX\s0 *ctx);" 4
339 .IP "char *\fBSSL_CTX_get_ex_data\fR(const \s-1SSL_CTX\s0 *s, int idx);" 4
340 .IX Item "char *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx);"
343 .IP "void (*\fBSSL_CTX_get_info_callback\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, int cb, int ret)…
345 .IP "int \fBSSL_CTX_get_quiet_shutdown\fR(const \s-1SSL_CTX\s0 *ctx);" 4
347 .IP "void \fBSSL_CTX_get_read_ahead\fR(\s-1SSL_CTX\s0 *ctx);" 4
349 .IP "int \fBSSL_CTX_get_session_cache_mode\fR(\s-1SSL_CTX\s0 *ctx);" 4
351 .IP "long \fBSSL_CTX_get_timeout\fR(const \s-1SSL_CTX\s0 *ctx);" 4
353 .IP "int (*\fBSSL_CTX_get_verify_callback\fR(const \s-1SSL_CTX\s0 *ctx))(int ok, X509_STORE_CTX *ct…
355 .IP "int \fBSSL_CTX_get_verify_mode\fR(\s-1SSL_CTX\s0 *ctx);" 4
357 .IP "int \fBSSL_CTX_load_verify_locations\fR(\s-1SSL_CTX\s0 *ctx, const char *CAfile, const char *C…
359 .IP "\s-1SSL_CTX\s0 *\fBSSL_CTX_new\fR(const \s-1SSL_METHOD\s0 *meth);" 4
361 .IP "int SSL_CTX_up_ref(\s-1SSL_CTX\s0 *ctx);" 4
363 .IP "int \fBSSL_CTX_remove_session\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *c);" 4
365 .IP "int \fBSSL_CTX_sess_accept\fR(\s-1SSL_CTX\s0 *ctx);" 4
367 .IP "int \fBSSL_CTX_sess_accept_good\fR(\s-1SSL_CTX\s0 *ctx);" 4
369 .IP "int \fBSSL_CTX_sess_accept_renegotiate\fR(\s-1SSL_CTX\s0 *ctx);" 4
371 .IP "int \fBSSL_CTX_sess_cache_full\fR(\s-1SSL_CTX\s0 *ctx);" 4
373 .IP "int \fBSSL_CTX_sess_cb_hits\fR(\s-1SSL_CTX\s0 *ctx);" 4
375 .IP "int \fBSSL_CTX_sess_connect\fR(\s-1SSL_CTX\s0 *ctx);" 4
377 .IP "int \fBSSL_CTX_sess_connect_good\fR(\s-1SSL_CTX\s0 *ctx);" 4
379 .IP "int \fBSSL_CTX_sess_connect_renegotiate\fR(\s-1SSL_CTX\s0 *ctx);" 4
381 .IP "int \fBSSL_CTX_sess_get_cache_size\fR(\s-1SSL_CTX\s0 *ctx);" 4
383 .IP "\s-1SSL_SESSION\s0 *(*\fBSSL_CTX_sess_get_get_cb\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, uns…
385 .IP "int (*\fBSSL_CTX_sess_get_new_cb\fR(\s-1SSL_CTX\s0 *ctx)(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *…
387 .IP "void (*\fBSSL_CTX_sess_get_remove_cb\fR(\s-1SSL_CTX\s0 *ctx)(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESS…
389 .IP "int \fBSSL_CTX_sess_hits\fR(\s-1SSL_CTX\s0 *ctx);" 4
391 .IP "int \fBSSL_CTX_sess_misses\fR(\s-1SSL_CTX\s0 *ctx);" 4
393 .IP "int \fBSSL_CTX_sess_number\fR(\s-1SSL_CTX\s0 *ctx);" 4
395 .IP "void \fBSSL_CTX_sess_set_cache_size\fR(\s-1SSL_CTX\s0 *ctx, t);" 4
397 .IP "void \fBSSL_CTX_sess_set_get_cb\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *(*cb)(\s-1SSL\s0 *…
399 .IP "void \fBSSL_CTX_sess_set_new_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(\s-1SSL\s0 *ssl, \s-1SSL_SES…
401 .IP "void \fBSSL_CTX_sess_set_remove_cb\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(\s-1SSL_CTX\s0 *ctx, \s-…
403 .IP "int \fBSSL_CTX_sess_timeouts\fR(\s-1SSL_CTX\s0 *ctx);" 4
405 .IP "\s-1LHASH\s0 *\fBSSL_CTX_sessions\fR(\s-1SSL_CTX\s0 *ctx);" 4
407 .IP "int \fBSSL_CTX_set_app_data\fR(\s-1SSL_CTX\s0 *ctx, void *arg);" 4
409 .IP "void \fBSSL_CTX_set_cert_store\fR(\s-1SSL_CTX\s0 *ctx, X509_STORE *cs);" 4
411 .IP "void \fBSSL_CTX_set1_cert_store\fR(\s-1SSL_CTX\s0 *ctx, X509_STORE *cs);" 4
413 .IP "void \fBSSL_CTX_set_cert_verify_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(), char *arg)" 4
415 .IP "int \fBSSL_CTX_set_cipher_list\fR(\s-1SSL_CTX\s0 *ctx, char *str);" 4
417 .IP "void \fBSSL_CTX_set_client_CA_list\fR(\s-1SSL_CTX\s0 *ctx, \s-1STACK\s0 *list);" 4
419 .IP "void \fBSSL_CTX_set_client_cert_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(\s-1SSL\s0 *ssl, X509 **x…
421 .IP "int \fBSSL_CTX_set_ct_validation_callback\fR(\s-1SSL_CTX\s0 *ctx, ssl_ct_validation_cb callbac…
423 .IP "void \fBSSL_CTX_set_default_passwd_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb);(void))" 4
425 .IP "void \fBSSL_CTX_set_default_read_ahead\fR(\s-1SSL_CTX\s0 *ctx, int m);" 4
427 .IP "int \fBSSL_CTX_set_default_verify_paths\fR(\s-1SSL_CTX\s0 *ctx);" 4
430 Use the default paths to locate trusted \s-1CA\s0 certificates. There is one default
432 .IP "int \fBSSL_CTX_set_default_verify_dir\fR(\s-1SSL_CTX\s0 *ctx)" 4
434 Use the default directory path to locate trusted \s-1CA\s0 certificates.
435 .IP "int \fBSSL_CTX_set_default_verify_file\fR(\s-1SSL_CTX\s0 *ctx)" 4
437 Use the file path to locate trusted \s-1CA\s0 certificates.
438 .IP "int \fBSSL_CTX_set_ex_data\fR(\s-1SSL_CTX\s0 *s, int idx, char *arg);" 4
439 .IX Item "int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, char *arg);"
441 .IP "void \fBSSL_CTX_set_info_callback\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(\s-1SSL\s0 *ssl, int cb, …
443 …X_set_msg_callback\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(int write_p, int version, int content_type, …
445 .IP "void \fBSSL_CTX_set_msg_callback_arg\fR(\s-1SSL_CTX\s0 *ctx, void *arg);" 4
447 .IP "unsigned long \fBSSL_CTX_clear_options\fR(\s-1SSL_CTX\s0 *ctx, unsigned long op);" 4
449 .IP "unsigned long \fBSSL_CTX_get_options\fR(\s-1SSL_CTX\s0 *ctx);" 4
451 .IP "unsigned long \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 "void \fBSSL_CTX_set_verify\fR(\s-1SSL_CTX\s0 *ctx, int mode, int (*cb);(void))" 4
469 .IP "int \fBSSL_CTX_use_PrivateKey\fR(\s-1SSL_CTX\s0 *ctx, \s-1EVP_PKEY\s0 *pkey);" 4
471 .IP "int \fBSSL_CTX_use_PrivateKey_ASN1\fR(int type, \s-1SSL_CTX\s0 *ctx, unsigned char *d, long le…
473 .IP "int \fBSSL_CTX_use_PrivateKey_file\fR(\s-1SSL_CTX\s0 *ctx, const char *file, int type);" 4
475 .IP "int \fBSSL_CTX_use_RSAPrivateKey\fR(\s-1SSL_CTX\s0 *ctx, \s-1RSA\s0 *rsa);" 4
477 .IP "int \fBSSL_CTX_use_RSAPrivateKey_ASN1\fR(\s-1SSL_CTX\s0 *ctx, unsigned char *d, long len);" 4
479 .IP "int \fBSSL_CTX_use_RSAPrivateKey_file\fR(\s-1SSL_CTX\s0 *ctx, const char *file, int type);" 4
481 .IP "int \fBSSL_CTX_use_certificate\fR(\s-1SSL_CTX\s0 *ctx, X509 *x);" 4
483 .IP "int \fBSSL_CTX_use_certificate_ASN1\fR(\s-1SSL_CTX\s0 *ctx, int len, unsigned char *d);" 4
485 .IP "int \fBSSL_CTX_use_certificate_file\fR(\s-1SSL_CTX\s0 *ctx, const char *file, int type);" 4
487 .IP "int \fBSSL_CTX_use_cert_and_key\fR(\s-1SSL_CTX\s0 *ctx, X509 *x, \s-1EVP_PKEY\s0 *pkey, \s-1ST…
489 .IP "X509 *\fBSSL_CTX_get0_certificate\fR(const \s-1SSL_CTX\s0 *ctx);" 4
491 .IP "\s-1EVP_PKEY\s0 *\fBSSL_CTX_get0_privatekey\fR(const \s-1SSL_CTX\s0 *ctx);" 4
493 .IP "void \fBSSL_CTX_set_psk_client_callback\fR(\s-1SSL_CTX\s0 *ctx, unsigned int (*callback)(\s-1S…
495 .IP "int \fBSSL_CTX_use_psk_identity_hint\fR(\s-1SSL_CTX\s0 *ctx, const char *hint);" 4
497 .IP "void \fBSSL_CTX_set_psk_server_callback\fR(\s-1SSL_CTX\s0 *ctx, unsigned int (*callback)(\s-1S…
502 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
503 sessions defined in the \fB\s-1SSL_SESSION\s0\fR structures.
504 .IP "int \fBSSL_SESSION_cmp\fR(const \s-1SSL_SESSION\s0 *a, const \s-1SSL_SESSION\s0 *b);" 4
507 .IP "void \fBSSL_SESSION_free\fR(\s-1SSL_SESSION\s0 *ss);" 4
509 .IP "char *\fBSSL_SESSION_get_app_data\fR(\s-1SSL_SESSION\s0 *s);" 4
510 .IX Item "char *SSL_SESSION_get_app_data(SSL_SESSION *s);"
511 .IP "char *\fBSSL_SESSION_get_ex_data\fR(const \s-1SSL_SESSION\s0 *s, int idx);" 4
512 .IX Item "char *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx);"
515 .IP "long \fBSSL_SESSION_get_time\fR(const \s-1SSL_SESSION\s0 *s);" 4
516 .IX Item "long SSL_SESSION_get_time(const SSL_SESSION *s);"
517 .IP "long \fBSSL_SESSION_get_timeout\fR(const \s-1SSL_SESSION\s0 *s);" 4
518 .IX Item "long SSL_SESSION_get_timeout(const SSL_SESSION *s);"
519 .IP "unsigned long \fBSSL_SESSION_hash\fR(const \s-1SSL_SESSION\s0 *a);" 4
521 .IP "\s-1SSL_SESSION\s0 *\fBSSL_SESSION_new\fR(void);" 4
523 .IP "int \fBSSL_SESSION_print\fR(\s-1BIO\s0 *bp, const \s-1SSL_SESSION\s0 *x);" 4
525 .IP "int \fBSSL_SESSION_print_fp\fR(\s-1FILE\s0 *fp, const \s-1SSL_SESSION\s0 *x);" 4
527 .IP "int \fBSSL_SESSION_set_app_data\fR(\s-1SSL_SESSION\s0 *s, char *a);" 4
528 .IX Item "int SSL_SESSION_set_app_data(SSL_SESSION *s, char *a);"
529 .IP "int \fBSSL_SESSION_set_ex_data\fR(\s-1SSL_SESSION\s0 *s, int idx, char *arg);" 4
530 .IX Item "int SSL_SESSION_set_ex_data(SSL_SESSION *s, int idx, char *arg);"
531 .IP "long \fBSSL_SESSION_set_time\fR(\s-1SSL_SESSION\s0 *s, long t);" 4
532 .IX Item "long SSL_SESSION_set_time(SSL_SESSION *s, long t);"
533 .IP "long \fBSSL_SESSION_set_timeout\fR(\s-1SSL_SESSION\s0 *s, long t);" 4
534 .IX Item "long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);"
538 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
539 connection defined in the \fB\s-1SSL\s0\fR structure.
540 .IP "int \fBSSL_accept\fR(\s-1SSL\s0 *ssl);" 4
543 .IP "int \fBSSL_add_dir_cert_subjects_to_stack\fR(\s-1STACK\s0 *stack, const char *dir);" 4
545 .IP "int \fBSSL_add_file_cert_subjects_to_stack\fR(\s-1STACK\s0 *stack, const char *file);" 4
547 .IP "int \fBSSL_add_client_CA\fR(\s-1SSL\s0 *ssl, X509 *x);" 4
557 .IP "int \fBSSL_check_private_key\fR(const \s-1SSL\s0 *ssl);" 4
559 .IP "void \fBSSL_clear\fR(\s-1SSL\s0 *ssl);" 4
561 .IP "long \fBSSL_clear_num_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
563 .IP "int \fBSSL_connect\fR(\s-1SSL\s0 *ssl);" 4
565 .IP "int \fBSSL_copy_session_id\fR(\s-1SSL\s0 *t, const \s-1SSL\s0 *f);" 4
570 .IP "long \fBSSL_ctrl\fR(\s-1SSL\s0 *ssl, int cmd, long larg, char *parg);" 4
573 .IP "int \fBSSL_do_handshake\fR(\s-1SSL\s0 *ssl);" 4
575 .IP "\s-1SSL\s0 *\fBSSL_dup\fR(\s-1SSL\s0 *ssl);" 4
578 \&\fBSSL_dup()\fR allows applications to configure an \s-1SSL\s0 handle for use
579 in multiple \s-1SSL\s0 connections, and then duplicate it prior to initiating
584 For \fBSSL_dup()\fR to work, the connection \s-1MUST\s0 be in its initial state
585 and \s-1MUST NOT\s0 have not yet have started the \s-1SSL\s0 handshake.
589 It may be possible to use \fBSSL_clear\fR\|(3) to recycle an \s-1SSL\s0 handle
594 .IP "\s-1STACK\s0 *\fBSSL_dup_CA_list\fR(\s-1STACK\s0 *sk);" 4
597 .IP "void \fBSSL_free\fR(\s-1SSL\s0 *ssl);" 4
599 .IP "\s-1SSL_CTX\s0 *\fBSSL_get_SSL_CTX\fR(const \s-1SSL\s0 *ssl);" 4
601 .IP "char *\fBSSL_get_app_data\fR(\s-1SSL\s0 *ssl);" 4
603 .IP "X509 *\fBSSL_get_certificate\fR(const \s-1SSL\s0 *ssl);" 4
605 .IP "const char *\fBSSL_get_cipher\fR(const \s-1SSL\s0 *ssl);" 4
607 .IP "int \fBSSL_is_dtls\fR(const \s-1SSL\s0 *ssl);" 4
609 .IP "int \fBSSL_get_cipher_bits\fR(const \s-1SSL\s0 *ssl, int *alg_bits);" 4
611 .IP "char *\fBSSL_get_cipher_list\fR(const \s-1SSL\s0 *ssl, int n);" 4
613 .IP "char *\fBSSL_get_cipher_name\fR(const \s-1SSL\s0 *ssl);" 4
615 .IP "char *\fBSSL_get_cipher_version\fR(const \s-1SSL\s0 *ssl);" 4
617 .IP "\s-1STACK\s0 *\fBSSL_get_ciphers\fR(const \s-1SSL\s0 *ssl);" 4
619 .IP "\s-1STACK\s0 *\fBSSL_get_client_CA_list\fR(const \s-1SSL\s0 *ssl);" 4
621 .IP "\s-1SSL_CIPHER\s0 *\fBSSL_get_current_cipher\fR(\s-1SSL\s0 *ssl);" 4
623 .IP "long \fBSSL_get_default_timeout\fR(const \s-1SSL\s0 *ssl);" 4
625 .IP "int \fBSSL_get_error\fR(const \s-1SSL\s0 *ssl, int i);" 4
627 .IP "char *\fBSSL_get_ex_data\fR(const \s-1SSL\s0 *ssl, int idx);" 4
633 .IP "int \fBSSL_get_fd\fR(const \s-1SSL\s0 *ssl);" 4
635 .IP "void (*\fBSSL_get_info_callback\fR(const \s-1SSL\s0 *ssl);)()" 4
637 .IP "int \fBSSL_get_key_update_type\fR(\s-1SSL\s0 *s);" 4
638 .IX Item "int SSL_get_key_update_type(SSL *s);"
639 .IP "\s-1STACK\s0 *\fBSSL_get_peer_cert_chain\fR(const \s-1SSL\s0 *ssl);" 4
641 .IP "X509 *\fBSSL_get_peer_certificate\fR(const \s-1SSL\s0 *ssl);" 4
643 .IP "const \s-1STACK_OF\s0(\s-1SCT\s0) *\fBSSL_get0_peer_scts\fR(\s-1SSL\s0 *s);" 4
644 .IX Item "const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s);"
645 .IP "\s-1EVP_PKEY\s0 *\fBSSL_get_privatekey\fR(const \s-1SSL\s0 *ssl);" 4
647 .IP "int \fBSSL_get_quiet_shutdown\fR(const \s-1SSL\s0 *ssl);" 4
649 .IP "\s-1BIO\s0 *\fBSSL_get_rbio\fR(const \s-1SSL\s0 *ssl);" 4
651 .IP "int \fBSSL_get_read_ahead\fR(const \s-1SSL\s0 *ssl);" 4
653 .IP "\s-1SSL_SESSION\s0 *\fBSSL_get_session\fR(const \s-1SSL\s0 *ssl);" 4
655 .IP "char *\fBSSL_get_shared_ciphers\fR(const \s-1SSL\s0 *ssl, char *buf, int size);" 4
657 .IP "int \fBSSL_get_shutdown\fR(const \s-1SSL\s0 *ssl);" 4
659 .IP "const \s-1SSL_METHOD\s0 *\fBSSL_get_ssl_method\fR(\s-1SSL\s0 *ssl);" 4
661 .IP "int \fBSSL_get_state\fR(const \s-1SSL\s0 *ssl);" 4
663 .IP "long \fBSSL_get_time\fR(const \s-1SSL\s0 *ssl);" 4
665 .IP "long \fBSSL_get_timeout\fR(const \s-1SSL\s0 *ssl);" 4
667 .IP "int (*\fBSSL_get_verify_callback\fR(const \s-1SSL\s0 *ssl))(int, X509_STORE_CTX *)" 4
669 .IP "int \fBSSL_get_verify_mode\fR(const \s-1SSL\s0 *ssl);" 4
671 .IP "long \fBSSL_get_verify_result\fR(const \s-1SSL\s0 *ssl);" 4
673 .IP "char *\fBSSL_get_version\fR(const \s-1SSL\s0 *ssl);" 4
675 .IP "\s-1BIO\s0 *\fBSSL_get_wbio\fR(const \s-1SSL\s0 *ssl);" 4
677 .IP "int \fBSSL_in_accept_init\fR(\s-1SSL\s0 *ssl);" 4
679 .IP "int \fBSSL_in_before\fR(\s-1SSL\s0 *ssl);" 4
681 .IP "int \fBSSL_in_connect_init\fR(\s-1SSL\s0 *ssl);" 4
683 .IP "int \fBSSL_in_init\fR(\s-1SSL\s0 *ssl);" 4
685 .IP "int \fBSSL_is_init_finished\fR(\s-1SSL\s0 *ssl);" 4
687 .IP "int \fBSSL_key_update\fR(\s-1SSL\s0 *s, int updatetype);" 4
688 .IX Item "int SSL_key_update(SSL *s, int updatetype);"
689 .IP "\s-1STACK\s0 *\fBSSL_load_client_CA_file\fR(const char *file);" 4
691 .IP "\s-1SSL\s0 *\fBSSL_new\fR(\s-1SSL_CTX\s0 *ctx);" 4
693 .IP "int SSL_up_ref(\s-1SSL\s0 *s);" 4
694 .IX Item "int SSL_up_ref(SSL *s);"
695 .IP "long \fBSSL_num_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
697 .IP "int \fBSSL_peek\fR(\s-1SSL\s0 *ssl, void *buf, int num);" 4
699 .IP "int \fBSSL_pending\fR(const \s-1SSL\s0 *ssl);" 4
701 .IP "int \fBSSL_read\fR(\s-1SSL\s0 *ssl, void *buf, int num);" 4
703 .IP "int \fBSSL_renegotiate\fR(\s-1SSL\s0 *ssl);" 4
705 .IP "char *\fBSSL_rstate_string\fR(\s-1SSL\s0 *ssl);" 4
707 .IP "char *\fBSSL_rstate_string_long\fR(\s-1SSL\s0 *ssl);" 4
709 .IP "long \fBSSL_session_reused\fR(\s-1SSL\s0 *ssl);" 4
711 .IP "void \fBSSL_set_accept_state\fR(\s-1SSL\s0 *ssl);" 4
713 .IP "void \fBSSL_set_app_data\fR(\s-1SSL\s0 *ssl, char *arg);" 4
715 .IP "void \fBSSL_set_bio\fR(\s-1SSL\s0 *ssl, \s-1BIO\s0 *rbio, \s-1BIO\s0 *wbio);" 4
717 .IP "int \fBSSL_set_cipher_list\fR(\s-1SSL\s0 *ssl, char *str);" 4
719 .IP "void \fBSSL_set_client_CA_list\fR(\s-1SSL\s0 *ssl, \s-1STACK\s0 *list);" 4
721 .IP "void \fBSSL_set_connect_state\fR(\s-1SSL\s0 *ssl);" 4
723 .IP "int \fBSSL_set_ct_validation_callback\fR(\s-1SSL\s0 *ssl, ssl_ct_validation_cb callback, void …
725 .IP "int \fBSSL_set_ex_data\fR(\s-1SSL\s0 *ssl, int idx, char *arg);" 4
727 .IP "int \fBSSL_set_fd\fR(\s-1SSL\s0 *ssl, int fd);" 4
729 .IP "void \fBSSL_set_info_callback\fR(\s-1SSL\s0 *ssl, void (*cb);(void))" 4
731 …SSL_set_msg_callback\fR(\s-1SSL\s0 *ctx, void (*cb)(int write_p, int version, int content_type, co…
733 .IP "void \fBSSL_set_msg_callback_arg\fR(\s-1SSL\s0 *ctx, void *arg);" 4
735 .IP "unsigned long \fBSSL_clear_options\fR(\s-1SSL\s0 *ssl, unsigned long op);" 4
737 .IP "unsigned long \fBSSL_get_options\fR(\s-1SSL\s0 *ssl);" 4
739 .IP "unsigned long \fBSSL_set_options\fR(\s-1SSL\s0 *ssl, unsigned long op);" 4
741 .IP "void \fBSSL_set_quiet_shutdown\fR(\s-1SSL\s0 *ssl, int mode);" 4
743 .IP "void \fBSSL_set_read_ahead\fR(\s-1SSL\s0 *ssl, int yes);" 4
745 .IP "int \fBSSL_set_rfd\fR(\s-1SSL\s0 *ssl, int fd);" 4
747 .IP "int \fBSSL_set_session\fR(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *session);" 4
749 .IP "void \fBSSL_set_shutdown\fR(\s-1SSL\s0 *ssl, int mode);" 4
751 .IP "int \fBSSL_set_ssl_method\fR(\s-1SSL\s0 *ssl, const \s-1SSL_METHOD\s0 *meth);" 4
753 .IP "void \fBSSL_set_time\fR(\s-1SSL\s0 *ssl, long t);" 4
755 .IP "void \fBSSL_set_timeout\fR(\s-1SSL\s0 *ssl, long t);" 4
757 .IP "void \fBSSL_set_verify\fR(\s-1SSL\s0 *ssl, int mode, int (*callback);(void))" 4
759 .IP "void \fBSSL_set_verify_result\fR(\s-1SSL\s0 *ssl, long arg);" 4
761 .IP "int \fBSSL_set_wfd\fR(\s-1SSL\s0 *ssl, int fd);" 4
763 .IP "int \fBSSL_shutdown\fR(\s-1SSL\s0 *ssl);" 4
765 .IP "\s-1OSSL_HANDSHAKE_STATE\s0 \fBSSL_get_state\fR(const \s-1SSL\s0 *ssl);" 4
769 .IP "char *\fBSSL_state_string\fR(const \s-1SSL\s0 *ssl);" 4
772 .IP "char *\fBSSL_state_string_long\fR(const \s-1SSL\s0 *ssl);" 4
774 .IP "long \fBSSL_total_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
776 .IP "int \fBSSL_use_PrivateKey\fR(\s-1SSL\s0 *ssl, \s-1EVP_PKEY\s0 *pkey);" 4
778 .IP "int \fBSSL_use_PrivateKey_ASN1\fR(int type, \s-1SSL\s0 *ssl, unsigned char *d, long len);" 4
780 .IP "int \fBSSL_use_PrivateKey_file\fR(\s-1SSL\s0 *ssl, const char *file, int type);" 4
782 .IP "int \fBSSL_use_RSAPrivateKey\fR(\s-1SSL\s0 *ssl, \s-1RSA\s0 *rsa);" 4
784 .IP "int \fBSSL_use_RSAPrivateKey_ASN1\fR(\s-1SSL\s0 *ssl, unsigned char *d, long len);" 4
786 .IP "int \fBSSL_use_RSAPrivateKey_file\fR(\s-1SSL\s0 *ssl, const char *file, int type);" 4
788 .IP "int \fBSSL_use_certificate\fR(\s-1SSL\s0 *ssl, X509 *x);" 4
790 .IP "int \fBSSL_use_certificate_ASN1\fR(\s-1SSL\s0 *ssl, int len, unsigned char *d);" 4
792 .IP "int \fBSSL_use_certificate_file\fR(\s-1SSL\s0 *ssl, const char *file, int type);" 4
794 .IP "int \fBSSL_use_cert_and_key\fR(\s-1SSL\s0 *ssl, X509 *x, \s-1EVP_PKEY\s0 *pkey, \s-1STACK_OF\s…
796 .IP "int \fBSSL_version\fR(const \s-1SSL\s0 *ssl);" 4
798 .IP "int \fBSSL_want\fR(const \s-1SSL\s0 *ssl);" 4
800 .IP "int \fBSSL_want_nothing\fR(const \s-1SSL\s0 *ssl);" 4
802 .IP "int \fBSSL_want_read\fR(const \s-1SSL\s0 *ssl);" 4
804 .IP "int \fBSSL_want_write\fR(const \s-1SSL\s0 *ssl);" 4
806 .IP "int \fBSSL_want_x509_lookup\fR(const \s-1SSL\s0 *ssl);" 4
808 .IP "int \fBSSL_write\fR(\s-1SSL\s0 *ssl, const void *buf, int num);" 4
810 .IP "void \fBSSL_set_psk_client_callback\fR(\s-1SSL\s0 *ssl, unsigned int (*callback)(\s-1SSL\s0 *s…
812 .IP "int \fBSSL_use_psk_identity_hint\fR(\s-1SSL\s0 *ssl, const char *hint);" 4
814 .IP "void \fBSSL_set_psk_server_callback\fR(\s-1SSL\s0 *ssl, unsigned int (*callback)(\s-1SSL\s0 *s…
816 .IP "const char *\fBSSL_get_psk_identity_hint\fR(\s-1SSL\s0 *ssl);" 4
818 .IP "const char *\fBSSL_get_psk_identity\fR(\s-1SSL\s0 *ssl);" 4
917 in the file \s-1LICENSE\s0 in the source distribution or at