Lines Matching full:bio
69 BIO_ssl_shutdown \- SSL BIO
73 \& #include <openssl/bio.h>
78 \& long BIO_set_ssl(BIO *b, SSL *ssl, long c);
79 \& long BIO_get_ssl(BIO *b, SSL **sslp);
80 \& long BIO_set_ssl_mode(BIO *b, long client);
81 \& long BIO_set_ssl_renegotiate_bytes(BIO *b, long num);
82 \& long BIO_set_ssl_renegotiate_timeout(BIO *b, long seconds);
83 \& long BIO_get_num_renegotiates(BIO *b);
85 \& BIO *BIO_new_ssl(SSL_CTX *ctx, int client);
86 \& BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
87 \& BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
88 \& int BIO_ssl_copy_session_id(BIO *to, BIO *from);
89 \& void BIO_ssl_shutdown(BIO *bio);
91 \& long BIO_do_handshake(BIO *b);
95 \&\fBBIO_f_ssl()\fR returns the SSL BIO method. This is a filter BIO which
96 is a wrapper round the OpenSSL SSL routines adding a BIO "flavour" to
99 I/O performed on an SSL BIO communicates using the SSL protocol with
103 If a BIO is appended to an SSL BIO using \fBBIO_push()\fR it is automatically
106 Calling \fBBIO_reset()\fR on an SSL BIO closes down any current SSL connection
107 by calling \fBSSL_shutdown()\fR. \fBBIO_reset()\fR is then sent to the next BIO in
109 The SSL BIO is then reset to the initial accept or connect state.
111 If the close flag is set when an SSL BIO is freed then the internal
114 \&\fBBIO_set_ssl()\fR sets the internal SSL pointer of SSL BIO \fBb\fR to \fBssl\fR using
117 \&\fBBIO_get_ssl()\fR retrieves the SSL pointer of SSL BIO \fBb\fR, it can then be
120 \&\fBBIO_set_ssl_mode()\fR sets the SSL BIO mode to \fBclient\fR. If \fBclient\fR
123 \&\fBBIO_set_ssl_renegotiate_bytes()\fR sets the renegotiate byte count of SSL BIO \fBb\fR
128 \&\fBBIO_set_ssl_renegotiate_timeout()\fR sets the renegotiate timeout of SSL BIO \fBb\fR
133 renegotiations due to I/O or timeout of SSL BIO \fBb\fR.
135 \&\fBBIO_new_ssl()\fR allocates an SSL BIO using SSL_CTX \fBctx\fR and using
138 \&\fBBIO_new_ssl_connect()\fR creates a new BIO chain consisting of an
139 SSL BIO (using \fBctx\fR) followed by a connect BIO.
141 \&\fBBIO_new_buffer_ssl_connect()\fR creates a new BIO chain consisting
142 of a buffering BIO, an SSL BIO (using \fBctx\fR), and a connect BIO.
149 \&\fBBIO_ssl_shutdown()\fR closes down an SSL connection on BIO
150 chain \fBbio\fR. It does this by locating the SSL BIO in the
155 supplied BIO and establish the SSL connection.
174 an SSL BIO using a blocking transport will never request a
179 on the BIO returned by \fBBIO_new_ssl_connect()\fR without having
180 to locate the connect BIO first.
201 a valid \fBBIO\fR structure on success or \fBNULL\fR if an error occurred.
215 \& BIO *sbio, *out;
261 BIO to allow lines to be read from the SSL BIO using BIO_gets.
266 \& BIO *sbio, *bbio, *acpt, *out;
285 \& /* New SSL BIO setup as server */
301 \& * BIO chain is now \*(Aqswallowed\*(Aq by the accept BIO and
302 \& * will be freed when the accept BIO is freed.
307 \& /* First call to BIO_do_accept() sets up accept BIO */
309 \& fprintf(stderr, "Error setting up accept BIO\en");
323 \& /* We only want one connection so remove and free accept BIO */
356 the I/O BIO reference count was incorrectly incremented (instead of
357 decremented) and dissociated with the SSL BIO even if the SSL BIO was not
360 be modified to handle this fix or they may free up an already freed BIO.