Lines Matching refs:callback
58 SSL_CTX_set_alpn_select_cb() sets the application callback B<cb> used by a
61 the application callback.
63 B<cb> is the application defined callback. The B<in>, B<inlen> parameters are a
72 is called from the application callback B<cb>. The protocol data in B<server>,
81 callback or the NPN callback (described below). If no match is found, the first
84 the NPN callback. In the ALPN case, the value returned in B<out> and B<outlen>
88 SSL_CTX_set_next_proto_select_cb() sets a callback B<cb> that is called when a
90 user-defined pointer argument B<arg> which will be passed to this callback.
91 For the callback itself, B<out>
95 callback can assume that B<in> is syntactically valid. The client must
97 fatal to the connection if this callback returns a value other than
101 SSL_CTX_set_next_protos_advertised_cb() sets a callback B<cb> that is called
107 reference to it. The callback should return B<SSL_TLSEXT_ERR_OK> if it
121 provided by the callback.
144 The ALPN callback is executed after the servername callback; as that servername
145 callback may update the SSL_CTX, and subsequently, the ALPN callback.
147 If there is no ALPN proposed in the ClientHello, the ALPN callback is not
171 The ALPN select callback B<cb>, must return one of the following:
191 The callback set using SSL_CTX_set_next_proto_select_cb() should return
194 The callback set using SSL_CTX_set_next_protos_advertised_cb() should return