[][src]Struct kerberos_asn1::KrbSafe

pub struct KrbSafe {
    pub pvno: Int32,
    pub msg_type: Int32,
    pub safe_body: KrbSafeBody,
    pub cksum: Checksum,
}

(KRB-SAFE) Used to send a tamper-proof message to a peer. Defined in RFC4120, section 5.6.1.

KRB-SAFE        ::= [APPLICATION 20] SEQUENCE {
          pvno            [0] INTEGER (5),
          msg-type        [1] INTEGER (20),
          safe-body       [2] KRB-SAFE-BODY,
          cksum           [3] Checksum
}

Fields

pvno: Int32msg_type: Int32safe_body: KrbSafeBodycksum: Checksum

Trait Implementations

impl Asn1Object for KrbSafe[src]

impl Clone for KrbSafe[src]

impl Debug for KrbSafe[src]

impl Default for KrbSafe[src]

impl PartialEq<KrbSafe> for KrbSafe[src]

impl StructuralPartialEq for KrbSafe[src]

Auto Trait Implementations

impl RefUnwindSafe for KrbSafe

impl Send for KrbSafe

impl Sync for KrbSafe

impl Unpin for KrbSafe

impl UnwindSafe for KrbSafe

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.