pub trait MessageDecrypter: Send + Sync {
    // Required method
    fn decrypt(&self, m: OpaqueMessage, seq: u64) -> Result<PlainMessage, Error>;
}
Expand description

Objects with this trait can decrypt TLS messages.

Required Methods§

source

fn decrypt(&self, m: OpaqueMessage, seq: u64) -> Result<PlainMessage, Error>

Perform the decryption over the concerned TLS message.

Implementors§