Function s2n_quic_tls::ffi::s2n_connection_tls_exporter
source · pub unsafe extern "C" fn s2n_connection_tls_exporter(
conn: *mut s2n_connection,
label: *const u8,
label_length: u32,
context: *const u8,
context_length: u32,
output: *mut u8,
output_length: u32
) -> i32
Expand description
Provides access to the TLS-Exporter functionality.
See https://datatracker.ietf.org/doc/html/rfc5705 and https://www.rfc-editor.org/rfc/rfc8446.
@note This is currently only available with TLS 1.3 connections which have finished a handshake.
@param conn A pointer to the connection
@returns A POSIX error signal. If an error was returned, the value contained in output
should be considered invalid.