Struct kerberos_parser::krb5::Ticket[][src]

pub struct Ticket<'a> {
    pub tkt_vno: u32,
    pub realm: Realm,
    pub sname: PrincipalName,
    pub enc_part: EncryptedData<'a>,
}
Expand description

Kerberos Ticket

A record that helps a client authenticate itself to a server; it contains the client’s identity, a session key, a timestamp, and other information, all sealed using the server’s secret key. It only serves to authenticate a client when presented along with a fresh Authenticator.

Fields

tkt_vno: u32

Version number for the ticket format (5)

realm: Realm

Realm that issued a ticket

sname: PrincipalName

Components of the name part of the server’s identity

enc_part: EncryptedData<'a>

Encrypted encoding of the EncTicketPart sequence

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.