[][src]Struct kerberos_asn1::Authenticator

pub struct Authenticator {
    pub authenticator_vno: Int32,
    pub crealm: Realm,
    pub cname: PrincipalName,
    pub cksum: Option<Checksum>,
    pub cusec: Microseconds,
    pub ctime: KerberosTime,
    pub subkey: Option<EncryptionKey>,
    pub seq_number: Option<UInt32>,
    pub authorization_data: Option<AuthorizationData>,
}

(Authenticator) Included in AP-REQ to certified the knowledge of the session key. Defined in RFC4120, section 5.5.1.

-- Unencrypted authenticator
Authenticator   ::= [APPLICATION 2] SEQUENCE  {
       authenticator-vno       [0] INTEGER (5),
       crealm                  [1] Realm,
       cname                   [2] PrincipalName,
       cksum                   [3] Checksum OPTIONAL,
       cusec                   [4] Microseconds,
       ctime                   [5] KerberosTime,
       subkey                  [6] EncryptionKey OPTIONAL,
       seq-number              [7] UInt32 OPTIONAL,
       authorization-data      [8] AuthorizationData OPTIONAL
}

Fields

authenticator_vno: Int32crealm: Realmcname: PrincipalNamecksum: Option<Checksum>cusec: Microsecondsctime: KerberosTimesubkey: Option<EncryptionKey>seq_number: Option<UInt32>authorization_data: Option<AuthorizationData>

Trait Implementations

impl Asn1Object for Authenticator[src]

impl Clone for Authenticator[src]

impl Debug for Authenticator[src]

impl Default for Authenticator[src]

impl PartialEq<Authenticator> for Authenticator[src]

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