[][src]Enum x509_signature::Restrictions

pub enum Restrictions {
    None,
    TLSv12,
    TLSv13,
}

Restrictions on allowed signature algorithms

Variants

None

Allow all supported signature algorithms. This is the default.

TLSv12

Only support signature algorithms allowed by TLS1.2. This should not be used in other contexts.

TLSv13

Only support signature algorithms allowed by TLS1.3. This is a good choice for new protocols as well.

Trait Implementations

impl Clone for Restrictions[src]

impl Copy for Restrictions[src]

impl Debug for Restrictions[src]

impl Default for Restrictions[src]

impl Eq for Restrictions[src]

impl Hash for Restrictions[src]

impl Ord for Restrictions[src]

impl PartialEq<Restrictions> for Restrictions[src]

impl PartialOrd<Restrictions> for Restrictions[src]

impl StructuralEq for Restrictions[src]

impl StructuralPartialEq for Restrictions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.