[−][src]Struct kerbeiros::types::asn1::EncKdcRepPart
(EncKdcRepPart) Holds the data that is encrypted in KdcRep
EncASRepPart ::= [APPLICATION 25] EncKDCRepPart
EncKDCRepPart ::= SEQUENCE {
key [0] EncryptionKey,
last-req [1] LastReq,
nonce [2] UInt32,
key-expiration [3] KerberosTime OPTIONAL,
flags [4] TicketFlags,
authtime [5] KerberosTime,
starttime [6] KerberosTime OPTIONAL,
endtime [7] KerberosTime,
renew-till [8] KerberosTime OPTIONAL,
srealm [9] Realm,
sname [10] PrincipalName,
caddr [11] HostAddresses OPTIONAL
}
Fields
key: EncryptionKey
last_req: LastReq
nonce: UInt32
key_expiration: Option<KerberosTime>
flags: TicketFlags
authtime: KerberosTime
starttime: Option<KerberosTime>
endtime: KerberosTime
renew_till: Option<KerberosTime>
srealm: Realm
sname: PrincipalName
caddr: Option<HostAddresses>
encrypted_pa_data: Option<MethodData>
Methods
impl EncKdcRepPart
[src]
pub fn new(
key: EncryptionKey,
last_req: LastReq,
nonce: UInt32,
flags: TicketFlags,
authtime: KerberosTime,
endtime: KerberosTime,
srealm: Realm,
sname: PrincipalName
) -> Self
[src]
key: EncryptionKey,
last_req: LastReq,
nonce: UInt32,
flags: TicketFlags,
authtime: KerberosTime,
endtime: KerberosTime,
srealm: Realm,
sname: PrincipalName
) -> Self
pub fn parse(raw: &[u8]) -> Result<Self>
[src]
Trait Implementations
impl Clone for EncKdcRepPart
[src]
fn clone(&self) -> EncKdcRepPart
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EncKdcRepPart
[src]
impl PartialEq<EncKdcRepPart> for EncKdcRepPart
[src]
fn eq(&self, other: &EncKdcRepPart) -> bool
[src]
fn ne(&self, other: &EncKdcRepPart) -> bool
[src]
impl StructuralPartialEq for EncKdcRepPart
[src]
Auto Trait Implementations
impl RefUnwindSafe for EncKdcRepPart
impl Send for EncKdcRepPart
impl Sync for EncKdcRepPart
impl Unpin for EncKdcRepPart
impl UnwindSafe for EncKdcRepPart
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>,