Struct rustls::tls12::cipher::GcmMessageEncrypter
source · 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