[−][src]Struct kerbeiros::types::asn1::AsReq
(AS-REQ) Message used to request a TGT.
Fields
pvno: i8
msg_type: i8
padata: Option<SeqOfPaData>
req_body: KdcReqBody
Methods
impl AsReq
[src]
pub fn new(realm: KerberosString, username: KerberosString) -> AsReq
[src]
pub fn include_pac(&mut self)
[src]
pub fn set_encrypted_timestamp(&mut self, etype: i32, encrypted: Vec<u8>)
[src]
pub fn set_kdc_options(&mut self, options: u32)
[src]
pub fn set_default_rtime(&mut self)
[src]
pub fn set_rtime(&mut self, date: DateTime<Utc>)
[src]
pub fn push_etype(&mut self, etype: i32)
[src]
pub fn build(self) -> Vec<u8>
[src]
Trait Implementations
impl Clone for AsReq
[src]
impl Debug for AsReq
[src]
impl PartialEq<AsReq> for AsReq
[src]
impl StructuralPartialEq for AsReq
[src]
Auto Trait Implementations
impl RefUnwindSafe for AsReq
impl Send for AsReq
impl Sync for AsReq
impl Unpin for AsReq
impl UnwindSafe for AsReq
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>,