Function rustls::server::hs::process_client_hello
source · pub(super) fn process_client_hello<'a>(
m: &'a Message,
done_retry: bool,
cx: &mut Context<'_, ServerConnectionData>,
) -> Result<(&'a ClientHelloPayload, Vec<SignatureScheme>), Error>
Expand description
Configuration-independent validation of a ClientHello
message.
This represents the first part of the ClientHello
handling, where we do all validation that
doesn’t depend on a ServerConfig
being available and extract everything needed to build a
ClientHello
value for a [ResolvesServerConfig
]/ResolvesServerCert
].
Note that this will modify data.sni
even if config or certificate resolution fail.