Lines Matching refs:BIO
10 BIO_ssl_shutdown - SSL BIO
21 long BIO_set_ssl(BIO *b, SSL *ssl, long c);
22 long BIO_get_ssl(BIO *b, SSL **sslp);
23 long BIO_set_ssl_mode(BIO *b, long client);
24 long BIO_set_ssl_renegotiate_bytes(BIO *b, long num);
25 long BIO_set_ssl_renegotiate_timeout(BIO *b, long seconds);
26 long BIO_get_num_renegotiates(BIO *b);
28 BIO *BIO_new_ssl(SSL_CTX *ctx, int client);
29 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
30 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
31 int BIO_ssl_copy_session_id(BIO *to, BIO *from);
32 void BIO_ssl_shutdown(BIO *bio);
34 long BIO_do_handshake(BIO *b);
38 BIO_f_ssl() returns the SSL BIO method. This is a filter BIO which
39 is a wrapper round the OpenSSL SSL routines adding a BIO "flavour" to
42 I/O performed on an SSL BIO communicates using the SSL protocol with
46 If a BIO is appended to an SSL BIO using BIO_push() it is automatically
49 Calling BIO_reset() on an SSL BIO closes down any current SSL connection
50 by calling SSL_shutdown(). BIO_reset() is then sent to the next BIO in
52 The SSL BIO is then reset to the initial accept or connect state.
54 If the close flag is set when an SSL BIO is freed then the internal
57 BIO_set_ssl() sets the internal SSL pointer of SSL BIO B<b> to B<ssl> using
60 BIO_get_ssl() retrieves the SSL pointer of SSL BIO B<b>, it can then be
63 BIO_set_ssl_mode() sets the SSL BIO mode to B<client>. If B<client>
66 BIO_set_ssl_renegotiate_bytes() sets the renegotiate byte count of SSL BIO B<b>
71 BIO_set_ssl_renegotiate_timeout() sets the renegotiate timeout of SSL BIO B<b>
76 renegotiations due to I/O or timeout of SSL BIO B<b>.
78 BIO_new_ssl() allocates an SSL BIO using SSL_CTX B<ctx> and using
81 BIO_new_ssl_connect() creates a new BIO chain consisting of an
82 SSL BIO (using B<ctx>) followed by a connect BIO.
84 BIO_new_buffer_ssl_connect() creates a new BIO chain consisting
85 of a buffering BIO, an SSL BIO (using B<ctx>), and a connect BIO.
88 BIO chains B<from> and B<to>. It does this by locating the
92 BIO_ssl_shutdown() closes down an SSL connection on BIO
93 chain B<bio>. It does this by locating the SSL BIO in the
98 supplied BIO and establish the SSL connection.
118 an SSL BIO using a blocking transport will never request a
123 on the BIO returned by BIO_new_ssl_connect() without having
124 to locate the connect BIO first.
143 a valid B<BIO> structure on success or B<NULL> if an error occurred.
156 BIO *sbio, *out;
201 BIO to allow lines to be read from the SSL BIO using BIO_gets.
205 BIO *sbio, *bbio, *acpt, *out;
224 /* New SSL BIO setup as server */
240 * BIO chain is now 'swallowed' by the accept BIO and
241 * will be freed when the accept BIO is freed.
246 /* Setup accept BIO */
248 fprintf(stderr, "Error setting up accept BIO\n");
253 /* We only want one connection so remove and free accept BIO */
286 the I/O BIO reference count was incorrectly incremented (instead of
287 decremented) and dissociated with the SSL BIO even if the SSL BIO was not
290 be modified to handle this fix or they may free up an already freed BIO.