Documentation ¶
Overview ¶
Package encryption provides modules for the partition encryption handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler reads encryption config, creates appropriate encryption provider, handles encrypted partition open and close.
func NewHandler ¶
func NewHandler(device *blockdevice.BlockDevice, partition *gpt.Partition, encryptionConfig config.Encryption) (*Handler, error)
NewHandler creates new Handler.
Click to show internal directories.
Click to hide internal directories.