#[repr(u16)]pub enum CipherSuite {
AesGcm128Sha256 = 4,
AesGcm256Sha512 = 5,
}Expand description
Depicts which AEAD algorithm is used for encryption and which hashing function is used for the key expansion, see RFC 9605 4.4
Variants§
AesGcm128Sha256 = 4
encryption: AES GCM 128, key expansion: HKDF with SHA256
AesGcm256Sha512 = 5
encryption: AES GCM 256, key expansion: HKDF with SHA512
Trait Implementations§
Source§impl Clone for CipherSuite
impl Clone for CipherSuite
Source§fn clone(&self) -> CipherSuite
fn clone(&self) -> CipherSuite
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CipherSuite
impl Debug for CipherSuite
Source§impl Display for CipherSuite
impl Display for CipherSuite
Source§impl From<CipherSuite> for &'static Algorithm
impl From<CipherSuite> for &'static Algorithm
Source§fn from(cipher_suite: CipherSuite) -> Self
fn from(cipher_suite: CipherSuite) -> Self
Converts to this type from the input type.
Source§impl From<CipherSuite> for Algorithm
impl From<CipherSuite> for Algorithm
Source§fn from(cipher_suite: CipherSuite) -> Self
fn from(cipher_suite: CipherSuite) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CipherSuite
impl PartialEq for CipherSuite
impl Copy for CipherSuite
impl Eq for CipherSuite
impl StructuralPartialEq for CipherSuite
Auto Trait Implementations§
impl Freeze for CipherSuite
impl RefUnwindSafe for CipherSuite
impl Send for CipherSuite
impl Sync for CipherSuite
impl Unpin for CipherSuite
impl UnwindSafe for CipherSuite
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