pub struct KrbCred {
pub encoded: Vec<u8>,
}Expand description
A Kerberos credential blob as accepted by KerbSubmitTicketMessage and
returned (in raw ticket form) by KerbRetrieveTicketMessage.
encoded is treated as opaque bytes by this crate — no ASN.1 parsing is
performed. For submit_ticket the caller MUST already have a valid
KRB-CRED structure. For values returned by crate::retrieve_tgt the
bytes are the raw EncodedTicket field of KERB_EXTERNAL_TICKET (i.e.
the ASN.1-DER Ticket, not a full KRB-CRED); wrapping that into a
KRB-CRED before it can be re-submitted is outside the current API scope.
Fields§
§encoded: Vec<u8>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KrbCred
impl RefUnwindSafe for KrbCred
impl Send for KrbCred
impl Sync for KrbCred
impl Unpin for KrbCred
impl UnsafeUnpin for KrbCred
impl UnwindSafe for KrbCred
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