pub fn generate_and_store_key_package<S>(
identity: &Identity,
mls_storage: &S,
include_post_quantum: bool,
) -> Result<(Vec<u8>, i32), IdentityError>where
S: XmtpMlsStorageProvider,Expand description
Store key material and its history row in one state transaction. Return bytes for upload and the history ID for its later receipt.