Module cryptsetup_rs::api
source · [−]Expand description
High-level API to work with libcryptsetup
supported devices (disks)
The main focus is on LUKS1 and LUKS2 devices
Re-exports
pub use crate::device::Error;
pub use crate::device::Keyslot;
pub use crate::device::Luks2TokenHandler;
pub use crate::device::Luks2TokenHandlerBox;
pub use crate::device::Luks2TokenHandlerRaw;
pub use crate::device::Luks2TokenId;
pub use crate::device::Result;
Structs
Struct containing state for the format()
builder
An opaque handle on an initialized crypt device
Struct containing state for the open()
builder
Enums
Traits
Trait representing common operations on a crypt device
Trait for querying the device type at runtime
Trait representing specific operations on a LUKS1 device
Trait representing specific operations on a LUKS2 device
Functions
Enable internal libcryptsetup
debugging
Builder to format a crypt device at the specified path
Read the UUID of a LUKS1 container without opening the device
Read the LUKS version used by a LUKS container without opening the device
Read the LUKS version used by a LUKS container without opening the device
Builder to open a crypt device at the specified path
Query the status of an active crypt device