Expand description
Types used to store Kerberos credentials in a ccache
§Example
Load and save into a file:
use himmelblau_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§
Structs§
- Address
- Represent addresses of Kerberos actors.
- CCache
- To store an array of credentials.
- Counted
Octet String - String used by ccache.
- Credential
- Represents a credential stored in ccache.
- Delta
Time - 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§
- Convert
Error - Type of error in kerbeiros library.
- Error
- The
Err
enum indicates the parser was not successful
Type Aliases§
- Auth
Data - Container that encapsules different types of preauthentication data structures.
- Convert
Result - Result to wrap kerbeiros error.
- Result
- Holds the result of parsing functions