[][src]Struct tls_parser::tls_sign_hash::SignatureScheme

pub struct SignatureScheme(pub u16);

Signature algorithms, as defined in [RFC8446] 4.2.3

Methods

impl SignatureScheme

impl SignatureScheme[src]

pub fn is_reserved(&self) -> bool[src]

pub fn hash_alg(&self) -> u8[src]

Get Hash algorithm (for tls <= 1.2) for legacy extension format

pub fn sign_alg(&self) -> u8[src]

Get Signature algorithm (for tls <= 1.2) for legacy extension format

Trait Implementations

impl PartialEq<SignatureScheme> for SignatureScheme[src]

impl Eq for SignatureScheme[src]

impl Debug for SignatureScheme[src]

impl Display for SignatureScheme

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]