pub struct KdcReqBody {
pub kdc_options: u32,
pub cname: Option<PrincipalName>,
pub realm: String,
pub sname: Option<PrincipalName>,
pub from: Option<KerberosTime>,
pub till: KerberosTime,
pub rtime: Option<KerberosTime>,
pub nonce: u32,
pub etype: Vec<EncryptionType>,
}Expand description
KDC request body (KDC-REQ-BODY).
Fields§
§kdc_options: u32KDC options flags
cname: Option<PrincipalName>Client principal name (optional, present in AS-REQ)
realm: StringRealm
sname: Option<PrincipalName>Server principal name
from: Option<KerberosTime>Requested start time
till: KerberosTimeRequested end time
rtime: Option<KerberosTime>Requested renewal time
nonce: u32Random nonce for replay protection
etype: Vec<EncryptionType>Requested encryption types (in preference order)
Implementations§
Source§impl KdcReqBody
impl KdcReqBody
Trait Implementations§
Source§impl Clone for KdcReqBody
impl Clone for KdcReqBody
Source§fn clone(&self) -> KdcReqBody
fn clone(&self) -> KdcReqBody
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KdcReqBody
impl RefUnwindSafe for KdcReqBody
impl Send for KdcReqBody
impl Sync for KdcReqBody
impl Unpin for KdcReqBody
impl UnwindSafe for KdcReqBody
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)