pub struct FileVault { /* private fields */ }
Expand description
Vault containing kerberos tickets using ccache/krb files as the backend
Implementations§
Trait Implementations§
Source§impl Vault for FileVault
impl Vault for FileVault
fn id(&self) -> &str
Source§fn support_cred_format(&self) -> Result<Option<CredFormat>>
fn support_cred_format(&self) -> Result<Option<CredFormat>>
Returns the format used to store credentials in the vault support. It
can be ccache or krb.
Source§fn dump(&self) -> Result<TicketCreds>
fn dump(&self) -> Result<TicketCreds>
Retrieve all the tickets.
Source§fn save(&self, creds: TicketCreds) -> Result<()>
fn save(&self, creds: TicketCreds) -> Result<()>
Saves the given tickets into the vault. The rest of the tickets are
destroyed.
Source§fn save_as(&self, creds: TicketCreds, cred_format: CredFormat) -> Result<()>
fn save_as(&self, creds: TicketCreds, cred_format: CredFormat) -> Result<()>
Saves the given tickets in the given format, if possible. The rest
of the tickets are destroyed.
Source§fn change_format(&self, cred_format: CredFormat) -> Result<()>
fn change_format(&self, cred_format: CredFormat) -> Result<()>
Changes the support format to the one given.
Source§fn get_user_tgts(&self, user: &KrbUser) -> Result<TicketCreds>
fn get_user_tgts(&self, user: &KrbUser) -> Result<TicketCreds>
Retrieves the user TGTs (if many) for the user domain.
Source§fn s4u2self_tgss(
&self,
user: &KrbUser,
impersonate_user: &KrbUser,
user_service: Option<&String>,
) -> Result<TicketCreds>
fn s4u2self_tgss( &self, user: &KrbUser, impersonate_user: &KrbUser, user_service: Option<&String>, ) -> Result<TicketCreds>
Retrieves the TGSs used for impersonation in s4u2self, part of the
constrained delegation.
Auto Trait Implementations§
impl Freeze for FileVault
impl RefUnwindSafe for FileVault
impl Send for FileVault
impl Sync for FileVault
impl Unpin for FileVault
impl UnwindSafe for FileVault
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