[][src]Struct kerberos_asn1::EtypeInfo2Entry

pub struct EtypeInfo2Entry {
    pub etype: Int32,
    pub salt: Option<KerberosString>,
    pub s2kparams: Option<OctetString>,
}

(ETYPE-INFO2-ENTRY) Give information about an encryption algorithm.

ETYPE-INFO2-ENTRY       ::= SEQUENCE {
       etype           [0] Int32,
       salt            [1] KerberosString OPTIONAL,
       s2kparams       [2] OCTET STRING OPTIONAL
}

Fields

etype: Int32salt: Option<KerberosString>s2kparams: Option<OctetString>

Implementations

impl EtypeInfo2Entry[src]

pub fn new(
    etype: Int32,
    salt: Option<KerberosString>,
    s2kparams: Option<OctetString>
) -> Self
[src]

Trait Implementations

impl Asn1Object for EtypeInfo2Entry[src]

impl Clone for EtypeInfo2Entry[src]

impl Debug for EtypeInfo2Entry[src]

impl Default for EtypeInfo2Entry[src]

impl PartialEq<EtypeInfo2Entry> for EtypeInfo2Entry[src]

impl StructuralPartialEq for EtypeInfo2Entry[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.