struct AeadMessageDecrypter {
dec_key: LessSafeKey,
iv: Iv,
}
Fields§
§dec_key: LessSafeKey
§iv: Iv
Trait Implementations§
Source§impl MessageDecrypter for AeadMessageDecrypter
impl MessageDecrypter for AeadMessageDecrypter
Source§fn decrypt<'a>(
&mut self,
msg: InboundOpaqueMessage<'a>,
seq: u64,
) -> Result<InboundPlainMessage<'a>, Error>
fn decrypt<'a>( &mut self, msg: InboundOpaqueMessage<'a>, seq: u64, ) -> Result<InboundPlainMessage<'a>, Error>
Decrypt the given TLS message
msg
, using the sequence number
seq
which can be used to derive a unique Nonce
.Auto Trait Implementations§
impl Freeze for AeadMessageDecrypter
impl RefUnwindSafe for AeadMessageDecrypter
impl Send for AeadMessageDecrypter
impl Sync for AeadMessageDecrypter
impl Unpin for AeadMessageDecrypter
impl UnwindSafe for AeadMessageDecrypter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more