struct GcmMessageEncrypter {
enc_key: LessSafeKey,
iv: Iv,
}
Expand description
A MessageEncrypter
for AES-GCM AEAD ciphersuites. TLS 1.2 only.
Fields§
§enc_key: LessSafeKey
§iv: Iv
Trait Implementations§
source§impl MessageEncrypter for GcmMessageEncrypter
impl MessageEncrypter for GcmMessageEncrypter
fn encrypt( &self, msg: BorrowedPlainMessage<'_>, seq: u64, ) -> Result<OpaqueMessage, Error>
Auto Trait Implementations§
impl Freeze for GcmMessageEncrypter
impl RefUnwindSafe for GcmMessageEncrypter
impl Send for GcmMessageEncrypter
impl Sync for GcmMessageEncrypter
impl Unpin for GcmMessageEncrypter
impl UnwindSafe for GcmMessageEncrypter
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
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.