mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-27 02:05:21 +02:00
1:1 decryption takes local address
This commit is contained in:
@@ -14,7 +14,13 @@ pub trait LibSignalProtocolStore {
|
||||
fn create_pre_key_bundle(&mut self) -> PreKeyBundle;
|
||||
fn process_pre_key_bundle(&mut self, remote: &str, pre_key_bundle: PreKeyBundle);
|
||||
fn encrypt(&mut self, remote: &str, msg: &[u8]) -> (Vec<u8>, CiphertextMessageType);
|
||||
fn decrypt(&mut self, remote: &str, msg: &[u8], msg_type: CiphertextMessageType) -> Vec<u8>;
|
||||
fn decrypt(
|
||||
&mut self,
|
||||
remote: &str,
|
||||
local: &str,
|
||||
msg: &[u8],
|
||||
msg_type: CiphertextMessageType,
|
||||
) -> Vec<u8>;
|
||||
|
||||
fn encrypt_sealed_sender_v1(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user