Function olm_sys::olm_create_inbound_session_from
source · [−]pub unsafe extern "C" fn olm_create_inbound_session_from(
session: *mut OlmSession,
account: *mut OlmAccount,
their_identity_key: *const c_void,
their_identity_key_length: usize,
one_time_key_message: *mut c_void,
message_length: usize
) -> usize
Expand description
Same as olm_create_inbound_session, but ensures that the identity key
in the pre-key message matches the expected identity key, supplied via the
their_identity_key
parameter. Fails early if there is no match.