23 #ifndef STORAGE_PLAIN_ENCRYPTION_H 24 #define STORAGE_PLAIN_ENCRYPTION_H 27 #include "storage/Devices/Encryption.h" 69 const Impl& get_impl()
const;
static PlainEncryption * create(Devicegraph *devicegraph, const std::string &dm_name)
Create a device of type PlainEncryption.
An encryption layer on a blk device.
Definition: Encryption.h:53
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
An abstract base class for storage devices.
Definition: Device.h:81
static std::vector< PlainEncryption * > get_all(Devicegraph *devicegraph)
Get all PlainEncryptiones.
An plain encryption layer on a block device.
Definition: PlainEncryption.h:40
The storage namespace.
Definition: Actiongraph.h:38
bool is_plain_encryption(const Device *device)
Checks whether device points to a PlainEncryption.
PlainEncryption * to_plain_encryption(Device *device)
Converts pointer to Device to pointer to PlainEncryption.