Lines Matching refs:callback
42 A server application wishing to use TLSv1.3 PSKs should set a callback
46 The callback function is given a pointer to the SSL connection in B<ssl> and
47 an identity in B<identity> of length B<identity_len>. The callback function
53 It is also possible for the callback to succeed but not supply a PSK. In this
55 callback should return successfully and ensure that B<*sess> is
69 callback function which is called when the server receives the
70 ClientKeyExchange message from the client. The purpose of the callback function
72 during the connection setup phase. The callback is set using the functions
73 SSL_CTX_set_psk_server_callback() or SSL_set_psk_server_callback(). The callback
78 The callback for use in TLSv1.2 will also work in TLSv1.3 although it is
81 been negotiated then OpenSSL will first check to see if a callback has been set
83 and it will use that in preference. If no such callback is present then it will
84 check to see if a callback has been set via SSL_CTX_set_psk_server_callback() or
88 callback, and are not possible with the B<SSL_psk_server_cb_func> callback.
98 Return values from the TLSv1.2 and below server callback are interpreted as
110 PSK identity was found and the server callback has provided the PSK
115 If the PSK identity was not found but the callback instructs the
116 protocol to continue anyway, the callback must provide some random
123 The B<SSL_psk_find_session_cb_func> callback should return 1 on success or 0 on