pub unsafe extern "C" fn s2n_config_set_async_pkey_callback(
config: *mut s2n_config,
fn_: Option<unsafe extern "C" fn(_: *mut s2n_connection, _: *mut s2n_async_pkey_op) -> i32>,
) -> i32
Expand description
Sets up the callback to invoke when private key operations occur.
@param config Config to set the callback @param fn The function that should be called for each private key operation