23#ifndef STORAGE_PLAIN_ENCRYPTION_H
24#define STORAGE_PLAIN_ENCRYPTION_H
27#include "storage/Devices/Encryption.h"
40 class PlainEncryption :
public Encryption
52 static PlainEncryption* load(
Devicegraph* devicegraph,
const xmlNode* node);
69 const Impl& get_impl()
const;
71 virtual PlainEncryption* clone()
const override;
73 PlainEncryption(Impl* impl);
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
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.