Struct picky_krb::messages::KdcReqBody
source · pub struct KdcReqBody {
pub kdc_options: ExplicitContextTag0<KerberosFlags>,
pub cname: Optional<Option<ExplicitContextTag1<PrincipalName>>>,
pub realm: ExplicitContextTag2<Realm>,
pub sname: Optional<Option<ExplicitContextTag3<PrincipalName>>>,
pub from: Optional<Option<ExplicitContextTag4<KerberosTime>>>,
pub till: ExplicitContextTag5<KerberosTime>,
pub rtime: Optional<Option<ExplicitContextTag6<KerberosTime>>>,
pub nonce: ExplicitContextTag7<IntegerAsn1>,
pub etype: ExplicitContextTag8<Asn1SequenceOf<IntegerAsn1>>,
pub addresses: Optional<Option<ExplicitContextTag9<Asn1SequenceOf<HostAddress>>>>,
pub enc_authorization_data: Optional<Option<ExplicitContextTag10<EncryptedData>>>,
pub additional_tickets: Optional<Option<ExplicitContextTag11<Asn1SequenceOf<Ticket>>>>,
}
Expand description
KDCOptions ::= KerberosFlags
KDC-REQ-BODY ::= SEQUENCE {
kdc-options [0] KDCOptions,
cname [1] PrincipalName OPTIONAL
-- Used only in AS-REQ --,
realm [2] Realm
-- Server's realm
-- Also client's in AS-REQ --,
sname [3] PrincipalName OPTIONAL,
from [4] KerberosTime OPTIONAL,
till [5] KerberosTime,
rtime [6] KerberosTime OPTIONAL,
nonce [7] UInt32,
etype [8] SEQUENCE OF Int32 -- EncryptionType
-- in preference order --,
addresses [9] HostAddresses OPTIONAL,
enc-authorization-data [10] EncryptedData OPTIONAL
-- AuthorizationData --,
additional-tickets [11] SEQUENCE OF Ticket OPTIONAL
-- NOTE: not empty
}
Fields§
§kdc_options: ExplicitContextTag0<KerberosFlags>
§cname: Optional<Option<ExplicitContextTag1<PrincipalName>>>
§realm: ExplicitContextTag2<Realm>
§sname: Optional<Option<ExplicitContextTag3<PrincipalName>>>
§from: Optional<Option<ExplicitContextTag4<KerberosTime>>>
§till: ExplicitContextTag5<KerberosTime>
§rtime: Optional<Option<ExplicitContextTag6<KerberosTime>>>
§nonce: ExplicitContextTag7<IntegerAsn1>
§etype: ExplicitContextTag8<Asn1SequenceOf<IntegerAsn1>>
§addresses: Optional<Option<ExplicitContextTag9<Asn1SequenceOf<HostAddress>>>>
§additional_tickets: Optional<Option<ExplicitContextTag11<Asn1SequenceOf<Ticket>>>>
Trait Implementations§
source§impl Clone for KdcReqBody
impl Clone for KdcReqBody
source§fn clone(&self) -> KdcReqBody
fn clone(&self) -> KdcReqBody
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KdcReqBody
impl Debug for KdcReqBody
source§impl<'de> Deserialize<'de> for KdcReqBody
impl<'de> Deserialize<'de> for KdcReqBody
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<KdcReqBody> for KdcReqBody
impl PartialEq<KdcReqBody> for KdcReqBody
source§fn eq(&self, other: &KdcReqBody) -> bool
fn eq(&self, other: &KdcReqBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KdcReqBody
impl Serialize for KdcReqBody
impl Eq for KdcReqBody
impl StructuralEq for KdcReqBody
impl StructuralPartialEq for KdcReqBody
Auto Trait Implementations§
impl RefUnwindSafe for KdcReqBody
impl Send for KdcReqBody
impl Sync for KdcReqBody
impl Unpin for KdcReqBody
impl UnwindSafe for KdcReqBody
Blanket Implementations§
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