pub unsafe extern "C" fn s2n_connection_get_selected_client_cert_digest_algorithm(
conn: *mut s2n_connection,
chosen_alg: *mut u32
) -> i32
Expand description
Get the client certificate’s digest algorithm.
@param conn A pointer to the s2n_connection object @param chosen_alg A pointer to a s2n_tls_hash_algorithm object. This is an output parameter.
@returns S2N_SUCCESS on success. S2N_FAILURE if bad parameters are received.