pub struct AuthData {
pub ad_type: u16,
pub data: Vec<u8>,
}Expand description
An AuthorizationData entry (RFC 4120 §5.2.6) — the shape the KDC uses to attach a
Windows PAC to a ticket. v0.1 exposes the raw ASN.1 blob for byte-exact round-trip.
Fields§
§ad_type: u16MIT KRB5_AUTHDATA_* — 1 for IF-RELEVANT, 128 for WIN2K-PAC.
data: Vec<u8>The DER-encoded AuthorizationData contents.
Trait Implementations§
impl Eq for AuthData
impl StructuralPartialEq for AuthData
Auto Trait Implementations§
impl Freeze for AuthData
impl RefUnwindSafe for AuthData
impl Send for AuthData
impl Sync for AuthData
impl Unpin for AuthData
impl UnsafeUnpin for AuthData
impl UnwindSafe for AuthData
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