Crate kerberos_ccache

Source
Expand description

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§

Structs§

Enums§

  • Type of error in kerbeiros library.
  • The Err enum indicates the parser was not successful

Type Aliases§

  • Container that encapsules different types of preauthentication data structures.
  • Result to wrap kerbeiros error.
  • Holds the result of parsing functions