[][src]Struct kerberos_asn1::KrbPriv

pub struct KrbPriv {
    pub pvno: Int32,
    pub msg_type: Int32,
    pub enc_part: EncryptedData,
}

(KRB-PRIV) To send a message securely and privately. Defined RFC4120, section 5.7.1.

KRB-PRIV        ::= [APPLICATION 21] SEQUENCE {
       pvno            [0] INTEGER (5),
       msg-type        [1] INTEGER (21),
                       -- NOTE: there is no [2] tag
       enc-part        [3] EncryptedData -- EncKrbPrivPart
}

Fields

pvno: Int32msg_type: Int32enc_part: EncryptedData

Trait Implementations

impl Asn1Object for KrbPriv[src]

impl Clone for KrbPriv[src]

impl Debug for KrbPriv[src]

impl Default for KrbPriv[src]

impl PartialEq<KrbPriv> for KrbPriv[src]

impl StructuralPartialEq for KrbPriv[src]

Auto Trait Implementations

impl RefUnwindSafe for KrbPriv

impl Send for KrbPriv

impl Sync for KrbPriv

impl Unpin for KrbPriv

impl UnwindSafe for KrbPriv

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.