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

Objects with this trait can decrypt TLS messages.

Required methods

Perform the decryption over the concerned TLS message.

Implementors