pub enum Aead {
Aes128Gcm = 1,
Aes256Gcm = 2,
Chacha20Poly1305 = 3,
}Expand description
Supported AEAD algorithms with values detailed in §7.3 of RFC 9180.
Variants§
Aes128Gcm = 1
AES-GCM-128 defined by NIST
Aes256Gcm = 2
AES-GCM-256 defined by NIST
Chacha20Poly1305 = 3
ChaCha20-Poly1305 defined by RFC 8439
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Aead
impl RefUnwindSafe for Aead
impl Send for Aead
impl Sync for Aead
impl Unpin for Aead
impl UnsafeUnpin for Aead
impl UnwindSafe for Aead
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