Expand description
Linux keyring bindings for Rust
This crate provides a high-level API for interacting with the Linux keys subsystem.
Modules§
- keytypes
- Keytypes
Structs§
- Description
- Structure representing the metadata about a key or keyring.
- Key
- Representation of a kernel key.
- KeyManager
- A manager for a key to respond to instantiate a key request by the kernel.
- KeySupport
Info - Structure to store results from a query on optional feature support for a key.
- Keyring
- Representation of a kernel keyring.
- Permission
- Permission bits for keyring objects.
- Public
KeyOptions - Options for output from public key functions (encryption, decryption, signing, and verifying).
Enums§
- Default
Keyring - An enumeration for the keyrings which may be set as the default.
- Keyctl
Encoding - Encodings supported by the kernel.
- Keyctl
Hash - Hashes supported by the kernel.
- Special
Keyring - Special keyrings predefined for a process.
- Target
Keyring - The destination keyring of an instantiation request.
Traits§
- KeyDescription
- A description for a key.
- KeyPayload
- A payload for a key.
- KeyRestriction
- A restriction for a key.
- KeyType
- A trait for representing a type of key in the Linux keyring subsystem.
- Restrictable
KeyType - A key which may be restricted into being added to a keyring.
Type Aliases§
- Error
- Reexport of
Errno
asError
. - KeyPermissions
- Alias for the key_perm_t kernel type, representing a keyring’s (or key’s) permission bits.
- Keyctl
Support Flags - They kernel type for representing support for optional features.
- Keyring
Serial - Alias for the key_serial_t kernel type, representing a keyring (or key).
- Result
- Simpler
Result
type with the error already set. - Timeout
Seconds