fn emit_client_hello_for_retry(
transcript_buffer: HandshakeHashBuffer,
retryreq: Option<&HelloRetryRequest>,
key_share: Option<Box<dyn ActiveKeyExchange>>,
extra_exts: ClientExtensionsInput<'static>,
suite: Option<SupportedCipherSuite>,
input: ClientHelloInput,
cx: &mut Context<'_, ClientConnectionData>,
ech_state: Option<EchState>,
) -> Result<Box<dyn State<ClientConnectionData> + 'static>, Error>
Expand description
Emits the initial ClientHello or a ClientHello in response to a HelloRetryRequest.
retryreq
and suite
are None
if this is the initial
ClientHello.