use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct EncryptedMessage { pub ciphertext: Vec, pub nonce: Vec, pub recipient_key_id: String, } pub struct E2EEncryption { } impl E2EEncryption { pub fn new() -> Self { Self {} } pub fn encrypt( &self, _plaintext: &[u8], _recipient_public_key: &[u8], ) -> Result { Err(crate::error::AppTransportError::Internal) } pub fn decrypt( &self, _encrypted: &EncryptedMessage, _private_key: &[u8], ) -> Result, crate::error::AppTransportError> { Err(crate::error::AppTransportError::Internal) } }