Struct kerberos_parser::krb5::KdcReqBody[][src]

pub struct KdcReqBody<'a> {
    pub kdc_options: DerObject<'a>,
    pub cname: Option<PrincipalName>,
    pub realm: Realm,
    pub sname: Option<PrincipalName>,
    pub from: Option<DerObject<'a>>,
    pub till: DerObject<'a>,
    pub rtime: Option<DerObject<'a>>,
    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: DerObject<'a>

Options requested by the client

cname: Option<PrincipalName>

Client name (only for AS-REQ)

realm: Realm

Server’s realm

sname: Option<PrincipalName>

Server name

from: Option<DerObject<'a>>

Desired starttime for the requested ticket

till: DerObject<'a>

Expiration date requested by the client

rtime: Option<DerObject<'a>>

Requested renew-till time

nonce: u32

Random 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

enc_authorization_data: Option<EncryptedData<'a>>

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

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.