23#ifndef STORAGE_PLAIN_ENCRYPTION_H
24#define STORAGE_PLAIN_ENCRYPTION_H
27#include "storage/Devices/Encryption.h"
69 const Impl& get_impl()
const;
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
An encryption layer on a blk device.
Definition Encryption.h:55
An plain encryption layer on a block device.
Definition PlainEncryption.h:41
static std::vector< PlainEncryption * > get_all(Devicegraph *devicegraph)
Get all PlainEncryptiones.
static PlainEncryption * create(Devicegraph *devicegraph, const std::string &dm_table_name)
Create a device of type PlainEncryption.
static std::vector< const PlainEncryption * > get_all(const Devicegraph *devicegraph)
Get all PlainEncryptiones.
The storage namespace.
Definition Actiongraph.h:40
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.