Function s2n_quic_tls::ffi::s2n_connection_get_curve
source · pub unsafe extern "C" fn s2n_connection_get_curve(
conn: *mut s2n_connection,
) -> *const i8
Expand description
Function to get the human readable elliptic curve name for the connection.
@param conn A pointer to the s2n connection @returns A string indicating the elliptic curve used during ECDHE key exchange. The string “NONE” is returned if no curve was used.