Trait rustls::cipher::MessageEncrypter
source · pub(crate) trait MessageEncrypter: Send + Sync {
// Required method
fn encrypt(
&self,
m: BorrowedPlainMessage<'_>,
seq: u64,
) -> Result<OpaqueMessage, Error>;
}
Expand description
Objects with this trait can encrypt TLS messages.