23#ifndef STORAGE_BITLOCKER_V2_H
24#define STORAGE_BITLOCKER_V2_H
27#include "storage/Devices/Encryption.h"
42 class BitlockerV2 :
public Encryption
54 static BitlockerV2* load(
Devicegraph* devicegraph,
const xmlNode* node);
83 const Impl& get_impl()
const;
85 virtual BitlockerV2* clone()
const override;
87 BitlockerV2(Impl* impl);
A BitLocker layer on a block device.
Definition BitlockerV2.h:43
static BitlockerV2 * create(Devicegraph *devicegraph, const std::string &dm_table_name)
Create a device of type BitlockerV2.
static std::vector< const BitlockerV2 * > get_all(const Devicegraph *devicegraph)
Get all BitlockerV2s.
const std::string & get_uuid() const
Get the BitLocker UUID.
static std::vector< BitlockerV2 * > get_all(Devicegraph *devicegraph)
Get all BitlockerV2s.
static void reset_activation_infos()
The library keeps track of whether the activation of a specific BitLocker device was canceled and of ...
An abstract base class for storage devices.
Definition Device.h:82
The main container of the libstorage-ng.
Definition Devicegraph.h:170
The storage namespace.
Definition Actiongraph.h:40
bool is_bitlocker_v2(const Device *device)
Checks whether device points to a BitlockerV2.
BitlockerV2 * to_bitlocker_v2(Device *device)
Converts pointer to Device to pointer to BitlockerV2.