pub struct CryptKeyslot<'a> { /* private fields */ }
Expand description

Handle for keyslot operations

Implementations

Add key slot using a passphrase

Change allocated key slot using a passphrase

Add key slot using key file

Add key slot with a key

Destroy key slot

Get keyslot status

Get keyslot priority (LUKS2 specific)

Get keyslot priority (LUKS2 specific)

Get maximum keyslots supported for device type

Get keyslot area pointers

Get size of key in keyslot - only different from crypt_get_volume_key_size() binding in the case of LUKS2 using unbound keyslots

Get encryption cipher and key size of keyslot (not data)

Get PBDKF parameters for a keyslot

Set encryption used for keyslot

Get directory where crypt devices are mapped

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.