23 #ifndef STORAGE_LUKS_H 24 #define STORAGE_LUKS_H 27 #include "storage/Devices/Encryption.h" 70 void set_uuid(
const std::string& uuid);
112 const Impl& get_impl()
const;
114 virtual Luks* clone()
const override;
static Luks * create(Devicegraph *devicegraph, const std::string &dm_table_name)
Create a device of type Luks.
Luks * to_luks(Device *device)
Converts pointer to Device to pointer to Luks.
static void reset_activation_infos()
The library keeps track of whether the activation of a specific LUKS device was canceled and of the p...
void set_uuid(const std::string &uuid)
Set the LUKS UUID.
const std::string & get_uuid() const
Get the LUKS UUID.
const std::string & get_label() const
Get the LUKS label.
An encryption layer on a blk device.
Definition: Encryption.h:54
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
void set_label(const std::string &label)
Set the LUKS label.
An abstract base class for storage devices.
Definition: Device.h:81
static std::vector< Luks * > get_all(Devicegraph *devicegraph)
Get all Lukses.
void set_format_options(const std::string &format_options)
Set extra options for luks format call.
An LUKS encryption layer on a block device.
Definition: Luks.h:38
bool is_luks(const Device *device)
Checks whether device points to a Luks.
const std::string & get_format_options() const
Get extra options for luks format call.
The storage namespace.
Definition: Actiongraph.h:38