pub struct KdcReqBody<'a> {
pub kdc_options: BitString<'a>,
pub cname: Option<PrincipalName>,
pub realm: Realm,
pub sname: Option<PrincipalName>,
pub from: Option<GeneralizedTime>,
pub till: GeneralizedTime,
pub rtime: Option<GeneralizedTime>,
pub nonce: u32,
pub etype: Vec<EncryptionType>,
pub addresses: Vec<HostAddress<'a>>,
pub enc_authorization_data: Option<EncryptedData<'a>>,
pub additional_tickets: Vec<Ticket<'a>>,
}Expand description
Key Distribution Center (KDC) Request Message Body
Fields§
§kdc_options: BitString<'a>Options requested by the client
cname: Option<PrincipalName>Client name (only for AS-REQ)
realm: RealmServer’s realm
sname: Option<PrincipalName>Server name
from: Option<GeneralizedTime>Desired starttime for the requested ticket
till: GeneralizedTimeExpiration date requested by the client
rtime: Option<GeneralizedTime>Requested renew-till time
nonce: u32Random number generated by the client
etype: Vec<EncryptionType>Desired encryption algorithm to be used in the response
addresses: Vec<HostAddress<'a>>Addresses from which the requested ticket is to be valid
Encoding of the desired authorization-data encrypted under the sub-session key if present in the Authenticator, or alternatively from the session key in the TGT
additional_tickets: Vec<Ticket<'a>>Additional tickets MAY be optionally included in a request to the ticket-granting server
Trait Implementations§
Source§impl<'a> Debug for KdcReqBody<'a>
impl<'a> Debug for KdcReqBody<'a>
Source§impl<'a> FromDer<'a> for KdcReqBody<'a>
Parse the body of a Kerberos KDC Request
impl<'a> FromDer<'a> for KdcReqBody<'a>
Parse the body of a Kerberos KDC Request
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
}
Source§impl<'a> PartialEq for KdcReqBody<'a>
impl<'a> PartialEq for KdcReqBody<'a>
impl<'a> StructuralPartialEq for KdcReqBody<'a>
Auto Trait Implementations§
impl<'a> Freeze for KdcReqBody<'a>
impl<'a> RefUnwindSafe for KdcReqBody<'a>
impl<'a> Send for KdcReqBody<'a>
impl<'a> Sync for KdcReqBody<'a>
impl<'a> Unpin for KdcReqBody<'a>
impl<'a> UnwindSafe for KdcReqBody<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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