23 #ifndef STORAGE_ENCRYPTION_H 24 #define STORAGE_ENCRYPTION_H 27 #include "storage/Devices/BlkDevice.h" 33 enum class EncryptionType {
34 NONE, TWOFISH, TWOFISH_OLD, TWOFISH256_OLD, LUKS, UNKNOWN
52 const std::string& get_password()
const;
54 void set_password(
const std::string& password);
66 const Impl& get_impl()
const;
77 bool is_encryption(
const Device* device);
An encryption layer on a blk device.
Definition: Encryption.h:45
The master container of the libstorage.
Definition: Devicegraph.h:133
An abstract Block Device.
Definition: BlkDevice.h:40
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:73
The storage namespace.
Definition: Actiongraph.h:36