pub struct Gcm256Aead;Expand description
AES-256-GCM AEAD 适配(批准)。
Trait Implementations§
Source§impl Debug for Gcm256Aead
impl Debug for Gcm256Aead
Source§impl Tls13AeadAlgorithm for Gcm256Aead
impl Tls13AeadAlgorithm for Gcm256Aead
Source§fn encrypter(&self, key: AeadKey, iv: Iv) -> Box<dyn MessageEncrypter>
fn encrypter(&self, key: AeadKey, iv: Iv) -> Box<dyn MessageEncrypter>
Build a
MessageEncrypter for the given key/iv.Source§fn decrypter(&self, key: AeadKey, iv: Iv) -> Box<dyn MessageDecrypter>
fn decrypter(&self, key: AeadKey, iv: Iv) -> Box<dyn MessageDecrypter>
Build a
MessageDecrypter for the given key/iv.Source§fn key_len(&self) -> usize
fn key_len(&self) -> usize
The length of key in bytes required by
encrypter() and decrypter().Source§fn extract_keys(
&self,
key: AeadKey,
iv: Iv,
) -> Result<ConnectionTrafficSecrets, UnsupportedOperationError>
fn extract_keys( &self, key: AeadKey, iv: Iv, ) -> Result<ConnectionTrafficSecrets, UnsupportedOperationError>
Auto Trait Implementations§
impl Freeze for Gcm256Aead
impl RefUnwindSafe for Gcm256Aead
impl Send for Gcm256Aead
impl Sync for Gcm256Aead
impl Unpin for Gcm256Aead
impl UnsafeUnpin for Gcm256Aead
impl UnwindSafe for Gcm256Aead
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