[][src]Struct tls_parser::tls_ciphers::TlsCipherSuite

pub struct TlsCipherSuite {
    pub name: &'static str,
    pub id: u16,
    pub kx: TlsCipherKx,
    pub au: TlsCipherAu,
    pub enc: TlsCipherEnc,
    pub enc_mode: TlsCipherEncMode,
    pub enc_size: u16,
    pub mac: TlsCipherMac,
    pub mac_size: u16,
}

TLS Ciphersuite

Fields

name: &'static strid: u16kx: TlsCipherKxau: TlsCipherAuenc: TlsCipherEncenc_mode: TlsCipherEncModeenc_size: u16mac: TlsCipherMacmac_size: u16

Methods

impl TlsCipherSuite[src]

pub fn from_id(id: u16) -> Option<&'static TlsCipherSuite>[src]

pub fn from_name<'a>(name: &'a str) -> Option<&'static TlsCipherSuite>[src]

Trait Implementations

impl Debug for TlsCipherSuite[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]