Lines Matching defs:handshake
320 /// handshake.
394 /// On the server side, abort the handshake if the client did not send a certificate.
570 /// Abort the handshake with a fatal alert.
573 /// Send a warning alert to the client and continue the handshake.
599 /// Terminate the handshake with a fatal alert.
605 /// Do not select a protocol, but continue the handshake.
618 /// Continue the handshake.
621 /// Return from the handshake with an `ErrorCode::WANT_CLIENT_HELLO_CB` error.
951 /// handshake and need to be restarted.
1318 /// `Ok(false)` indicates that the OCSP status is invalid and the handshake should be
1395 /// available to access via [`SslRef::session`] immediately after the handshake completes, this
1702 /// handshake.
1906 /// handshake.
2032 /// Returns the handshake digest of the cipher.
2264 /// Initiates a client-side TLS handshake.
2283 /// Initiates a server-side TLS handshake.
2640 /// Gets all SRTP profiles that are enabled for handshake via set_tlsext_use_srtp
2656 /// Gets the SRTP profile selected by handshake.
2756 /// Copies the `client_random` value sent by the client in the TLS handshake into a buffer.
2770 /// Copies the `server_random` value sent by the server in the TLS handshake into a buffer.
2841 /// This should be called before the handshake to attempt to reuse a previously established
2870 /// Returns `None` if the handshake is still in-progress.
3010 /// Determines if the initial handshake has been completed.
3375 /// handshake.
3385 /// handshake.
3395 /// An SSL stream midway through the handshake process.
3418 /// Returns the underlying error which interrupted this handshake.
3433 /// Restarts the handshake process.
3438 pub fn handshake(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3486 /// This function performs no IO; the stream will not have performed any part of the handshake
3488 /// [`SslRef::set_accept_state`], the handshake can be performed automatically during the first
3490 /// explicitly perform the handshake.
3507 /// This is useful if the handshake has already been completed elsewhere.
3521 /// Read application data transmitted by a client before handshake completion.
3549 /// Send data to the server without blocking on handshake completion.
3574 /// Initiates a client-side TLS handshake.
3590 /// Initiates a server-side TLS handshake.
3606 /// Initiates the handshake.
3619 /// Perform a stateless server-side handshake.
3625 /// was read, in which case the handshake should be continued via
3627 /// transmitted, `Ok(false)` is returned instead. If the handshake cannot
3859 /// Perform a stateless server-side handshake
3865 /// was read, in which case the handshake should be continued via
3867 /// transmitted, `Ok(false)` is returned instead. If the handshake cannot
3939 /// Initiates the handshake.
3946 pub fn handshake(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3964 /// Read application data transmitted by a client before handshake
3982 /// Send data to the server without blocking on handshake completion.