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: u32Version number for the ticket format (5)
realm: RealmRealm that issued a ticket
sname: PrincipalNameComponents of the name part of the server’s identity
enc_part: EncryptedData<'a>Encrypted encoding of the EncTicketPart sequence
Trait Implementations§
impl<'a> StructuralPartialEq for Ticket<'a>
Auto Trait Implementations§
impl<'a> Freeze for Ticket<'a>
impl<'a> RefUnwindSafe for Ticket<'a>
impl<'a> Send for Ticket<'a>
impl<'a> Sync for Ticket<'a>
impl<'a> Unpin for Ticket<'a>
impl<'a> UnwindSafe for Ticket<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more