rustls::server::tls13::client_hello

Function emit_server_hello

Source
fn emit_server_hello(
    transcript: &mut HandshakeHash,
    randoms: &ConnectionRandoms,
    suite: &'static Tls13CipherSuite,
    cx: &mut Context<'_, ServerConnectionData>,
    session_id: &SessionId,
    share_and_kxgroup: (&KeyShareEntry, &'static dyn SupportedKxGroup),
    chosen_psk_idx: Option<usize>,
    resuming_psk: Option<&[u8]>,
    config: &ServerConfig,
) -> Result<KeyScheduleHandshake, Error>