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

Handle for LUKS2 token operations

Implementations

Get contents of a token in JSON format

Set contents of a token in JSON format

Get the token info for a specific token

Create new LUKS2 keyring token

Get LUKS2 keyring token description

Assign token to keyslot

None for keyslot assigns all keyslots to the token

Unassign token from keyslot

None for keyslot unassigns the token from all active keyslots

Check if token is assigned

Register token handler

Activate device or check key using a token

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.