[−][src]Struct kerbeiros::messages::KdcRep
(KDC-REP) Main structure of the AS-REP and TGS-REP messages.
Fields
pvno: i8
msg_type: i8
padata: Option<SeqOfPaData>
crealm: Realm
cname: PrincipalName
ticket: Ticket
enc_part: EncryptedData
Methods
impl KdcRep
[src]
pub fn new(
crealm: Realm,
cname: PrincipalName,
ticket: Ticket,
enc_part: EncryptedData
) -> Self
[src]
crealm: Realm,
cname: PrincipalName,
ticket: Ticket,
enc_part: EncryptedData
) -> Self
pub fn encryption_salt(&self) -> Vec<u8>
[src]
pub fn into_credential(self, user_key: &Key) -> Result<Credential>
[src]
pub fn parse(raw: &[u8]) -> Result<Self>
[src]
Trait Implementations
impl Clone for KdcRep
[src]
impl Debug for KdcRep
[src]
impl PartialEq<KdcRep> for KdcRep
[src]
impl StructuralPartialEq for KdcRep
[src]
Auto Trait Implementations
impl RefUnwindSafe for KdcRep
impl Send for KdcRep
impl Sync for KdcRep
impl Unpin for KdcRep
impl UnwindSafe for KdcRep
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,