• Home
  • Raw
  • Download

Lines Matching refs:SSL

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);
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
40 SSL I/O.
42 I/O performed on an SSL BIO communicates using the SSL protocol with
43 the SSLs read and write BIOs. If an SSL connection is not established
46 If a BIO is appended to an SSL BIO using BIO_push() it is automatically
47 used as the SSL BIOs read and write BIOs.
49 Calling BIO_reset() on an SSL BIO closes down any current SSL connection
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
55 SSL structure is also freed using SSL_free().
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
61 manipulated using the standard SSL library functions.
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>
68 the SSL session is automatically renegotiated. B<num> must be at
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
82 SSL BIO (using B<ctx>) followed by a connect BIO.
85 of a buffering BIO, an SSL BIO (using B<ctx>), and a connect BIO.
87 BIO_ssl_copy_session_id() copies an SSL session id between
89 SSL BIOs in each chain and calling SSL_copy_session_id() on
90 the internal SSL pointer.
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
94 chain and calling SSL_shutdown() on its internal SSL
97 BIO_do_handshake() attempts to complete an SSL handshake on the
98 supplied BIO and establish the SSL connection. It returns 1
102 to determine if the call should be retried. If an SSL connection has
107 SSL BIOs are exceptional in that if the underlying transport
113 The SSL flag SSL_AUTO_RETRY can be
115 an SSL BIO using a blocking transport will never request a
133 BIO_f_ssl() returns the SSL B<BIO_METHOD> structure.
149 This SSL/TLS client example attempts to retrieve a page from an
150 SSL/TLS web server. The I/O routines are identical to those of the
157 SSL *ssl;
168 fprintf(stderr, "Can't locate SSL pointer\n");
201 BIO to allow lines to be read from the SSL BIO using BIO_gets.
209 SSL *ssl;
224 /* New SSL BIO setup as server */
228 fprintf(stderr, "Can't locate SSL pointer\n");
259 fprintf(stderr, "Error in SSL handshake\n");
288 decremented) and dissociated with the SSL BIO even if the SSL BIO was not