[−][src]Crate kerberos_ccache
Types used to store Kerberos credentials in a ccache
Example
Load and save into a file:
use kerberos_ccache::CCache; use std::fs; let data = fs::read("./bob_tgt.ccache").expect("Unable to read file"); let ccache = CCache::parse(&data) .expect("Unable to parse file content") .1; let data_2 = ccache.build(); fs::write("./bob_tgt2.ccache", data_2).expect("Unable to write file");
References
Modules
mappers |
Structs
Address | Represent addresses of Kerberos actors. |
CCache | To store an array of credentials. |
CountedOctetString | String used by ccache. |
Credential | Represents a credential stored in ccache. |
DeltaTime | Type of Header. |
Header | Header of CCache |
KeyBlock | Represents the session key. |
Principal | Name of some Kerberos entity. |
Times | Holds the differents timestamps handled by Kerberos. |
Enums
ConvertError | Type of error in kerbeiros library. |
Error | The |
Type Definitions
AuthData | Container that encapsules different types of preauthentication data structures. |
ConvertResult | Result to wrap kerbeiros error. |
Result | Holds the result of parsing functions |