Crate keyutils

source ·
Expand description

Linux keyring bindings for Rust

This crate provides a high-level API for interacting with the Linux keys subsystem.

Modules

Structs

  • Structure representing the metadata about a key or keyring.
  • Representation of a kernel key.
  • A manager for a key to respond to instantiate a key request by the kernel.
  • Structure to store results from a query on optional feature support for a key.
  • Representation of a kernel keyring.
  • Permission bits for keyring objects.
  • Options for output from public key functions (encryption, decryption, signing, and verifying).

Enums

Traits

Type Definitions

  • Reexport of Errno as Error.
  • Alias for the key_perm_t kernel type, representing a keyring’s (or key’s) permission bits.
  • They kernel type for representing support for optional features.
  • Alias for the key_serial_t kernel type, representing a keyring (or key).
  • Simpler Result type with the error already set.