pub fn fn_decrypt_handshake_flight_with_secret(
flight: &MessageFlight,
server_hello_transcript: &HandshakeHash,
client: &bool,
sequence: &u64,
client_random: &Random,
suite: &CipherSuite,
extracted_shared_secret: &Vec<u8>,
) -> Result<MessageFlight, FnError>Expand description
Decrypt handshake messages by directly using the TLS handshake secret
This functions takes a MessageFlight and search for ApplicationData containing handshake
related messages. The decrypted messages are put in an output MessageFlight. If some encrypted
messages are coalesced messages, they will be split in different decrypted messages in the
resulting MessageFlight