struct GcmMessageDecrypter {
dec_key: LessSafeKey,
dec_salt: [u8; 4],
}
Expand description
A MessageDecrypter
for AES-GCM AEAD ciphersuites. TLS1.2 only.
Fields§
§dec_key: LessSafeKey
§dec_salt: [u8; 4]
Trait Implementations§
source§impl MessageDecrypter for GcmMessageDecrypter
impl MessageDecrypter for GcmMessageDecrypter
source§fn decrypt(&self, msg: OpaqueMessage, seq: u64) -> Result<PlainMessage, Error>
fn decrypt(&self, msg: OpaqueMessage, seq: u64) -> Result<PlainMessage, Error>
Perform the decryption over the concerned TLS message.
Auto Trait Implementations§
impl Freeze for GcmMessageDecrypter
impl RefUnwindSafe for GcmMessageDecrypter
impl Send for GcmMessageDecrypter
impl Sync for GcmMessageDecrypter
impl Unpin for GcmMessageDecrypter
impl UnwindSafe for GcmMessageDecrypter
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.